{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:50:59.085384Z",
     "start_time": "2018-10-18T08:50:58.624386Z"
    },
    "collapsed": true,
    "hide_input": false
   },
   "outputs": [],
   "source": [
    "import torch\n",
    "import torch.nn as nn\n",
    "import torch.nn.functional as F\n",
    "from torch.autograd import Variable\n",
    "from torch.optim.lr_scheduler import StepLR\n",
    "from torch.utils.data import DataLoader,TensorDataset\n",
    "import torch.utils.data as data\n",
    "import numpy as np\n",
    "import scipy.io as sio\n",
    "import math\n",
    "import argparse\n",
    "import random\n",
    "import os\n",
    "from My_Loss import HardTripletLoss\n",
    "from My_Loss import HardTripletLoss2\n",
    "from My_Loss import HardTripletLoss_D\n",
    "from tensorboardX import SummaryWriter"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:50:59.089149Z",
     "start_time": "2018-10-18T08:50:59.086657Z"
    },
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "BATCH_SIZE = 64\n",
    "EPISODE = 200000\n",
    "TEST_EPISODE = 1000\n",
    "LEARNING_RATE =2e-5\n",
    "Weight_Deacy = 1e-6\n",
    "GPU = 0\n",
    "Margin = 3"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:51:00.144539Z",
     "start_time": "2018-10-18T08:50:59.090660Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "init dataset\n",
      "----------------------------------------------------------------------------------------------------\n"
     ]
    }
   ],
   "source": [
    "print(\"init dataset\")\n",
    "##################################参数##################################################################\n",
    "dataroot = '../data'\n",
    "dataset = 'APY_data'\n",
    "image_embedding = 'res101'               #ResNet101层\n",
    "class_embedding = 'att'         #属性表达 85-d\n",
    "#######################################读取视觉特征###################################################################\n",
    "\n",
    "matcontent = sio.loadmat(dataroot + \"/\" + dataset + \"/\" + image_embedding + \".mat\")  #scipy loadmat\n",
    " \n",
    "feature = matcontent['features'].T         #转置 30478x2048 每一行是一个完整的样本\n",
    "\n",
    "label = matcontent['labels'].astype(int).squeeze() - 1   #matlab begin 1 ,numpy begin 0\n",
    "########################################读取属性特征###########################################################\n",
    "\n",
    "matcontent = sio.loadmat(dataroot + \"/\" + dataset + \"/\" + class_embedding + \"_splits.mat\")\n",
    "    \n",
    "# numpy array index starts from 0, matlab starts from 1\n",
    "trainval_loc = matcontent['trainval_loc'].squeeze() - 1    #squeeze()去掉维度中的1 AxBx1 --->AxB\n",
    "\n",
    "test_seen_loc = matcontent['test_seen_loc'].squeeze() - 1\n",
    "test_unseen_loc = matcontent['test_unseen_loc'].squeeze() - 1\n",
    "\n",
    "attribute = matcontent['att'].T    #转置 50x85 每行是整个属性向量\n",
    "\n",
    "x = feature[trainval_loc]                      # train_features trainval里面是图片的编号 begin with 0 ，19832个\n",
    "train_label = label[trainval_loc].astype(int)  # train_label  int类型没变 每个图片的lable 19832个\n",
    "train_id = np.unique(train_label)\n",
    "\n",
    "att = attribute[train_label]                   # train attributes 每个图片的属性 19832个\n",
    "\n",
    "########################add negative pairs#######################\n",
    "#x_negative = np.empty_like(x)\n",
    "#x_negative_label = np.empty_like(train_label)\n",
    "#print(x.shape[0])\n",
    "\n",
    "#for i in range(x.shape[0]):\n",
    "#    pick=np.random.choice(np.where(train_label[i]!=train_id)[0], replace=True)\n",
    "#    x_negative[i] = x[pick]\n",
    "#    x_negative_label[i] = train_label[pick]\n",
    "    \n",
    "x_test = feature[test_unseen_loc]                   # test_feature 5685个\n",
    "test_label = label[test_unseen_loc].astype(int)     # test_label   5685个\n",
    "\n",
    "x_test_seen = feature[test_seen_loc]                #test_seen_feature 4958个\n",
    "test_label_seen = label[test_seen_loc].astype(int)  # test_seen_label  4958个\n",
    "    \n",
    "test_id = np.unique(test_label)                     # test_id  10个类 ，unique去重\n",
    "att_pro = attribute[test_id]                        # test_attribute 每一类的属性向量 10x85\n",
    "\n",
    "# train set\n",
    "train_features = torch.from_numpy(x)   #np-->tensor\n",
    "#train_fearures_negative = torch.from_numpy(x_negative)\n",
    "\n",
    "sample_attributes=[]\n",
    "train_label = torch.from_numpy(train_label).unsqueeze(1) #每张图片的属性转化 ，unsqueeze(1)就是插入到第一维度 AxB维-->Ax1xB\n",
    "#train_negative_label = torch.from_numpy(x_negative_label).unsqueeze(1)\n",
    "# attributes\n",
    "all_attributes = np.array(attribute)  #所有50类属性转变为numpy数组???属性向量仍然用的numpy类型 没有转化为pytorch\n",
    "#print(all_attributes)\n",
    "    \n",
    "#print('-'*50)\n",
    "attributes = torch.from_numpy(attribute) \n",
    "#print(attribute)\n",
    "# test set\n",
    "\n",
    "test_features = torch.from_numpy(x_test)\n",
    "#print(test_features.shape)\n",
    "\n",
    "test_label = torch.from_numpy(test_label).unsqueeze(1)\n",
    "#print(test_label.shape)\n",
    "\n",
    "testclasses_id = np.array(test_id)\n",
    "#print(testclasses_id.shape)\n",
    "\n",
    "test_attributes = torch.from_numpy(att_pro).float()\n",
    "#print(test_attributes.shape)\n",
    "\n",
    "test_seen_features = torch.from_numpy(x_test_seen)\n",
    "#print(test_seen_features.shape)\n",
    "\n",
    "test_seen_label = torch.from_numpy(test_label_seen)\n",
    "\n",
    "train_data = TensorDataset( train_label, train_features )\n",
    "#train_data = TensorDataset(train_label, train_features, train_fearures_negative)\n",
    "\n",
    "#################here need new code to make triplet data#####################\n",
    "print('-'*100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:51:00.149259Z",
     "start_time": "2018-10-18T08:51:00.146189Z"
    },
    "collapsed": true,
    "hide_input": false
   },
   "outputs": [],
   "source": [
    "from my_net_3 import AttributeNetwork\n",
    "from my_net_3 import MetricNetwork"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:51:02.472631Z",
     "start_time": "2018-10-18T08:51:00.151111Z"
    },
    "hide_input": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "init networks\n",
      "----------------------------------------------------------------------------------------------------\n"
     ]
    }
   ],
   "source": [
    "# init network\n",
    "print(\"init networks\")\n",
    "attribute_network = AttributeNetwork(64,1600,2048)  #85d属性 1024隐藏层 2048输出 85d到2048d\n",
    "metric_network = MetricNetwork(2048,1600,2048)\n",
    "#triplet_network = TripletNetwork(attribute_network, metric_network)  #metric learning   \n",
    "attribute_network.cuda(GPU) \n",
    "metric_network.cuda(GPU)\n",
    "#attribute_network_optim = torch.optim.Adam(attribute_network.parameters(), lr=LEARNING_RATE, weight_decay=1e-5)\n",
    "#优化器adam 学习率 正则1e-5\n",
    "\n",
    "#attribute_network_scheduler = StepLR(attribute_network_optim, step_size=200000, gamma=0.5)\n",
    "#学习率每200k步 乘0.5\n",
    "attribute_network_optim = torch.optim.Adam(attribute_network.parameters(), lr=LEARNING_RATE,weight_decay=Weight_Deacy)\n",
    "metric_network_optim = torch.optim.Adam(metric_network.parameters(), lr=LEARNING_RATE,weight_decay=Weight_Deacy)\n",
    "#\n",
    "#triplet_network_optim = torch.optim.SGD(triplet_network.parameters(), lr=LEARNING_RATE,momentum=0.9 , \n",
    "#                                         weight_decay=Weight_Deacy)\n",
    "\n",
    "attribute_network_scheduler = StepLR(attribute_network_optim , step_size=40000 , gamma=0.5)\n",
    "metric_network_scheduler = StepLR(metric_network_optim , step_size=40000 , gamma=0.5)\n",
    "#\n",
    "print('-'*100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:51:02.479581Z",
     "start_time": "2018-10-18T08:51:02.473986Z"
    },
    "collapsed": true,
    "hide_input": true
   },
   "outputs": [],
   "source": [
    "def compute_accuracy(test_features, test_label, test_id, test_attributes):\n",
    "    \n",
    "    test_data = TensorDataset(test_features, test_label)\n",
    "    test_batch = 32\n",
    "    test_loader = DataLoader(test_data, batch_size=test_batch, shuffle=False)\n",
    "    total_rewards = 0\n",
    "\n",
    "    sample_labels = test_id\n",
    "    sample_attributes = test_attributes\n",
    "    class_num = sample_attributes.shape[0]\n",
    "    test_size = test_features.shape[0]\n",
    "\n",
    "    print(\"class num:\", class_num)\n",
    "\n",
    "    for batch_features,batch_labels in test_loader:\n",
    "\n",
    "        batch_size = batch_labels.shape[0]\n",
    "        batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(class_num, 0))\n",
    "        batch_features_ext = metric_network(Variable(batch_features_ext).cuda(GPU).float())  # 32*1024\n",
    "\n",
    "        #print(batch_features_ext)\n",
    "\n",
    "        sample_features = metric_network(attribute_network(Variable(sample_attributes).cuda(GPU).float()))\n",
    "        sample_features_ext = sample_features.repeat(batch_size, 1)\n",
    "        #print(sample_features_ext.shape)\n",
    "\n",
    "\n",
    "        relations = F.pairwise_distance(batch_features_ext, sample_features_ext, 2).view(-1, class_num)\n",
    "        re_batch_labels = []\n",
    "        for label in batch_labels.numpy():\n",
    "            index = np.argwhere(sample_labels == label)\n",
    "            re_batch_labels.append(index[0][0])\n",
    "        re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "\n",
    "\n",
    "        _, predict_labels = torch.min(relations.data, 1)\n",
    "        #print(predict_labels)\n",
    "        rewards = [1 if predict_labels[j] == re_batch_labels[j] else 0 for j in range(batch_size)]\n",
    "        total_rewards += np.sum(rewards)\n",
    "    test_accuracy = total_rewards/1.0/test_size\n",
    "    return  test_accuracy"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T08:51:02.488174Z",
     "start_time": "2018-10-18T08:51:02.481122Z"
    },
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def compute_accuracy_per_class(test_features, test_label, test_id, test_attributes,cos_sim = False):\n",
    "    \n",
    "    test_data = TensorDataset(test_features, test_label)\n",
    "    test_batch = 32\n",
    "    test_loader = DataLoader(test_data, batch_size=test_batch, shuffle=False)\n",
    "    total_rewards = 0\n",
    "    #print(test_features.size())\n",
    "    sample_labels = test_id\n",
    "    sample_attributes = test_attributes\n",
    "    class_num = sample_attributes.shape[0]\n",
    "    test_size = test_features.shape[0]\n",
    "    per_class_num = np.zeros(class_num)\n",
    "    per_class_true= np.zeros(class_num)\n",
    "\n",
    "    print(\"class num:\", class_num)\n",
    "\n",
    "    for batch_features,batch_labels in test_loader:\n",
    "\n",
    "        batch_size = batch_labels.shape[0]\n",
    "        batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(class_num, 0))\n",
    "        batch_features_ext = metric_network(Variable(batch_features_ext).cuda(GPU).float())  # 32*1024\n",
    "\n",
    "\n",
    "        sample_features = metric_network(attribute_network(Variable(sample_attributes).cuda(GPU).float()))\n",
    "        sample_features_ext = sample_features.repeat(batch_size, 1)\n",
    "\n",
    "        if cos_sim:\n",
    "            relations = F.cosine_similarity(batch_features_ext, sample_features_ext).view(-1, class_num)\n",
    "        else:\n",
    "            relations = F.pairwise_distance(batch_features_ext, sample_features_ext, 2).view(-1, class_num)\n",
    "        re_batch_labels = []\n",
    "        for label in batch_labels.numpy():\n",
    "            index = np.argwhere(sample_labels == label)\n",
    "            re_batch_labels.append(index[0][0])\n",
    "        re_batch_labels_id, batch_per_num = np.unique(re_batch_labels , return_counts=True) \n",
    "        re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "        \n",
    "        for each in range(re_batch_labels_id.size):\n",
    "            #print(re_batch_labels_id[each])\n",
    "            #print(batch_per_num[each])\n",
    "            per_class_num[re_batch_labels_id[each]] = per_class_num[re_batch_labels_id[each]] + batch_per_num[each]\n",
    "        #print(re_batch_labels_id)\n",
    "        #print('-'*100)\n",
    "        #print(batch_per_num)\n",
    "        #print('-'*100)\n",
    "\n",
    "\n",
    "        _, predict_labels = torch.min(relations.data, 1)\n",
    "        for j in range(batch_size):\n",
    "            if predict_labels[j] == re_batch_labels[j]:\n",
    "                per_class_true[re_batch_labels[j]] = per_class_true[re_batch_labels[j]] + 1\n",
    "            \n",
    "        \n",
    "        \n",
    "    per_accuracy = per_class_true[np.nonzero(per_class_num)] / per_class_num[np.nonzero(per_class_num)]\n",
    "    \n",
    "\n",
    "    test_accuracy = np.sum(per_accuracy)/1.0/np.count_nonzero(per_class_num)\n",
    "    \n",
    "    #print(np.count_nonzero(per_class_num))\n",
    "    return  test_accuracy"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2018-10-18T11:40:13.873736Z",
     "start_time": "2018-10-18T08:51:02.489426Z"
    },
    "code_folding": [],
    "scrolled": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "training...\n",
      "episode: 1 loss tensor(3.1994, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.13822328290964053\n",
      "gzsl: unseen=0.0587 , seen=0.0188 , h=0.0285\n",
      "____________________________________________________________________________________________________\n",
      "episode: 200 loss tensor(3.0860, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.2559784935466427\n",
      "gzsl: unseen=0.0944 , seen=0.5546 , h=0.1614\n",
      "____________________________________________________________________________________________________\n",
      "episode: 400 loss tensor(3.0454, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.27695922906459985\n",
      "gzsl: unseen=0.1166 , seen=0.5850 , h=0.1945\n",
      "____________________________________________________________________________________________________\n",
      "episode: 600 loss tensor(3.0317, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.240791999964836\n",
      "gzsl: unseen=0.1260 , seen=0.5318 , h=0.2037\n",
      "____________________________________________________________________________________________________\n",
      "episode: 800 loss tensor(3.0249, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.23837977265841628\n",
      "gzsl: unseen=0.1303 , seen=0.5065 , h=0.2073\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1000 loss tensor(3.0139, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.24923742376890257\n",
      "gzsl: unseen=0.1376 , seen=0.5337 , h=0.2188\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1200 loss tensor(2.9981, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.27219625785713536\n",
      "gzsl: unseen=0.1561 , seen=0.5333 , h=0.2415\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1400 loss tensor(2.9686, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31625917836514794\n",
      "gzsl: unseen=0.1881 , seen=0.5826 , h=0.2844\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1600 loss tensor(2.9252, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3084216207879655\n",
      "gzsl: unseen=0.1957 , seen=0.5861 , h=0.2935\n",
      "____________________________________________________________________________________________________\n",
      "episode: 1800 loss tensor(2.9357, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3220791731512022\n",
      "gzsl: unseen=0.2123 , seen=0.6051 , h=0.3143\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2000 loss tensor(2.6738, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3348684494753838\n",
      "gzsl: unseen=0.2351 , seen=0.5974 , h=0.3374\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2200 loss tensor(2.6309, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33247446716403284\n",
      "gzsl: unseen=0.2333 , seen=0.5557 , h=0.3286\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2400 loss tensor(2.5957, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3153220553591522\n",
      "gzsl: unseen=0.2350 , seen=0.5298 , h=0.3256\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2600 loss tensor(2.3213, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3221514232420227\n",
      "gzsl: unseen=0.2447 , seen=0.5396 , h=0.3368\n",
      "____________________________________________________________________________________________________\n",
      "episode: 2800 loss tensor(1.8200, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3338681727276209\n",
      "gzsl: unseen=0.2456 , seen=0.5364 , h=0.3369\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3000 loss tensor(2.6151, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3550882495726823\n",
      "gzsl: unseen=0.2617 , seen=0.5622 , h=0.3572\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3200 loss tensor(2.1664, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34298976124580816\n",
      "gzsl: unseen=0.2550 , seen=0.5696 , h=0.3523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3400 loss tensor(2.0706, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34841214400224074\n",
      "gzsl: unseen=0.2575 , seen=0.5611 , h=0.3530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3600 loss tensor(2.4736, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3350430549272969\n",
      "gzsl: unseen=0.2397 , seen=0.5697 , h=0.3375\n",
      "____________________________________________________________________________________________________\n",
      "episode: 3800 loss tensor(2.0116, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3539501219100318\n",
      "gzsl: unseen=0.2454 , seen=0.5867 , h=0.3460\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4000 loss tensor(2.4161, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3557610592090244\n",
      "gzsl: unseen=0.2594 , seen=0.5813 , h=0.3588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4200 loss tensor(2.4826, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3491501333921536\n",
      "gzsl: unseen=0.2459 , seen=0.5717 , h=0.3439\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4400 loss tensor(2.1373, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32060917476207035\n",
      "gzsl: unseen=0.2261 , seen=0.5785 , h=0.3251\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4600 loss tensor(3.0901, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3426642694939197\n",
      "gzsl: unseen=0.2455 , seen=0.5727 , h=0.3436\n",
      "____________________________________________________________________________________________________\n",
      "episode: 4800 loss tensor(2.0072, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33233925691767313\n",
      "gzsl: unseen=0.2261 , seen=0.5844 , h=0.3260\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5000 loss tensor(2.1890, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377932121000243\n",
      "gzsl: unseen=0.2225 , seen=0.5975 , h=0.3243\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5200 loss tensor(2.4279, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3278428875857547\n",
      "gzsl: unseen=0.2173 , seen=0.6086 , h=0.3203\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5400 loss tensor(1.9195, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33769604824024385\n",
      "gzsl: unseen=0.2229 , seen=0.6052 , h=0.3258\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 5600 loss tensor(2.2278, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33148163733574254\n",
      "gzsl: unseen=0.2184 , seen=0.6085 , h=0.3214\n",
      "____________________________________________________________________________________________________\n",
      "episode: 5800 loss tensor(3.0320, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3310086760544165\n",
      "gzsl: unseen=0.2157 , seen=0.6020 , h=0.3176\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6000 loss tensor(2.6160, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3359026523752507\n",
      "gzsl: unseen=0.2156 , seen=0.6148 , h=0.3193\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6200 loss tensor(2.1748, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33624198245489945\n",
      "gzsl: unseen=0.2206 , seen=0.6081 , h=0.3237\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6400 loss tensor(2.5355, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33638275525413985\n",
      "gzsl: unseen=0.2110 , seen=0.6130 , h=0.3139\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6600 loss tensor(2.1274, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3268940651413985\n",
      "gzsl: unseen=0.2110 , seen=0.6205 , h=0.3149\n",
      "____________________________________________________________________________________________________\n",
      "episode: 6800 loss tensor(2.7711, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33247132903623755\n",
      "gzsl: unseen=0.2134 , seen=0.6329 , h=0.3191\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7000 loss tensor(2.4492, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3440093363630825\n",
      "gzsl: unseen=0.2130 , seen=0.6412 , h=0.3198\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7200 loss tensor(2.4050, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3369386854355616\n",
      "gzsl: unseen=0.2145 , seen=0.6453 , h=0.3219\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7400 loss tensor(2.4757, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33154468238280826\n",
      "gzsl: unseen=0.2031 , seen=0.6556 , h=0.3102\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7600 loss tensor(2.0899, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3319091652750482\n",
      "gzsl: unseen=0.2088 , seen=0.6517 , h=0.3162\n",
      "____________________________________________________________________________________________________\n",
      "episode: 7800 loss tensor(1.7937, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32656211814788877\n",
      "gzsl: unseen=0.1969 , seen=0.6615 , h=0.3035\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8000 loss tensor(2.6196, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3370979839713395\n",
      "gzsl: unseen=0.2015 , seen=0.6753 , h=0.3103\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8200 loss tensor(2.1922, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32766682900195127\n",
      "gzsl: unseen=0.1898 , seen=0.6653 , h=0.2953\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8400 loss tensor(2.4495, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3362616844816517\n",
      "gzsl: unseen=0.1918 , seen=0.6772 , h=0.2990\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8600 loss tensor(2.7735, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33830381259169257\n",
      "gzsl: unseen=0.1942 , seen=0.6686 , h=0.3010\n",
      "____________________________________________________________________________________________________\n",
      "episode: 8800 loss tensor(1.8764, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3356839774261533\n",
      "gzsl: unseen=0.1966 , seen=0.6730 , h=0.3043\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9000 loss tensor(1.6510, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3470149887139869\n",
      "gzsl: unseen=0.1966 , seen=0.6804 , h=0.3050\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9200 loss tensor(2.0527, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3434475367417264\n",
      "gzsl: unseen=0.1962 , seen=0.6727 , h=0.3038\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9400 loss tensor(2.1930, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34805947274299553\n",
      "gzsl: unseen=0.1938 , seen=0.6767 , h=0.3013\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9600 loss tensor(3.0093, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3449862725011905\n",
      "gzsl: unseen=0.1896 , seen=0.6816 , h=0.2967\n",
      "____________________________________________________________________________________________________\n",
      "episode: 9800 loss tensor(1.7296, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3493117570824109\n",
      "gzsl: unseen=0.1935 , seen=0.6796 , h=0.3012\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10000 loss tensor(1.8295, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3417346190563082\n",
      "gzsl: unseen=0.1823 , seen=0.6837 , h=0.2878\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10200 loss tensor(1.8914, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3447729961305768\n",
      "gzsl: unseen=0.1965 , seen=0.6902 , h=0.3059\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10400 loss tensor(2.3262, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3556229767210735\n",
      "gzsl: unseen=0.2019 , seen=0.6910 , h=0.3125\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10600 loss tensor(2.2619, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3547198509756457\n",
      "gzsl: unseen=0.2004 , seen=0.6881 , h=0.3103\n",
      "____________________________________________________________________________________________________\n",
      "episode: 10800 loss tensor(2.8072, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34677574129424443\n",
      "gzsl: unseen=0.1967 , seen=0.7035 , h=0.3075\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11000 loss tensor(2.3938, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3421395792949922\n",
      "gzsl: unseen=0.1888 , seen=0.7180 , h=0.2990\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 11200 loss tensor(2.2003, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35341970324716504\n",
      "gzsl: unseen=0.1999 , seen=0.7171 , h=0.3126\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11400 loss tensor(2.3461, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.350045315562737\n",
      "gzsl: unseen=0.2020 , seen=0.7164 , h=0.3152\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11600 loss tensor(2.0724, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3487831743329115\n",
      "gzsl: unseen=0.1996 , seen=0.7320 , h=0.3136\n",
      "____________________________________________________________________________________________________\n",
      "episode: 11800 loss tensor(2.4018, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3506035254440099\n",
      "gzsl: unseen=0.2083 , seen=0.7297 , h=0.3241\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12000 loss tensor(3.1205, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34815899609373924\n",
      "gzsl: unseen=0.2043 , seen=0.7461 , h=0.3208\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12200 loss tensor(1.9833, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35128725116082443\n",
      "gzsl: unseen=0.2023 , seen=0.7433 , h=0.3180\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12400 loss tensor(2.1720, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3484876772495216\n",
      "gzsl: unseen=0.1982 , seen=0.7508 , h=0.3137\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12600 loss tensor(1.9829, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35352740724941584\n",
      "gzsl: unseen=0.2065 , seen=0.7495 , h=0.3238\n",
      "____________________________________________________________________________________________________\n",
      "episode: 12800 loss tensor(2.4006, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34828415209422364\n",
      "gzsl: unseen=0.2042 , seen=0.7492 , h=0.3209\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13000 loss tensor(1.5031, device='cuda:0')\n",
      "loss_zero_number=  1\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34998605756894774\n",
      "gzsl: unseen=0.2070 , seen=0.7582 , h=0.3252\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13200 loss tensor(2.0249, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459791358085316\n",
      "gzsl: unseen=0.2040 , seen=0.7477 , h=0.3206\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13400 loss tensor(0.7058, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3435817353627646\n",
      "gzsl: unseen=0.1929 , seen=0.7554 , h=0.3073\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13600 loss tensor(2.2523, device='cuda:0')\n",
      "loss_zero_number=  1\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34391298215956373\n",
      "gzsl: unseen=0.1961 , seen=0.7466 , h=0.3106\n",
      "____________________________________________________________________________________________________\n",
      "episode: 13800 loss tensor(1.7689, device='cuda:0')\n",
      "loss_zero_number=  1\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34288939746480485\n",
      "gzsl: unseen=0.1957 , seen=0.7542 , h=0.3107\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14000 loss tensor(1.1149, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3284542299766733\n",
      "gzsl: unseen=0.1735 , seen=0.7739 , h=0.2834\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14200 loss tensor(2.1235, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33303874581428855\n",
      "gzsl: unseen=0.1838 , seen=0.7708 , h=0.2968\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14400 loss tensor(1.4890, device='cuda:0')\n",
      "loss_zero_number=  1\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3271697970847132\n",
      "gzsl: unseen=0.1805 , seen=0.7614 , h=0.2918\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14600 loss tensor(1.3522, device='cuda:0')\n",
      "loss_zero_number=  0\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3225460056693363\n",
      "gzsl: unseen=0.1763 , seen=0.7586 , h=0.2861\n",
      "____________________________________________________________________________________________________\n",
      "episode: 14800 loss tensor(1.2279, device='cuda:0')\n",
      "loss_zero_number=  3\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31949705683135027\n",
      "gzsl: unseen=0.1728 , seen=0.7616 , h=0.2817\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15000 loss tensor(1.4656, device='cuda:0')\n",
      "loss_zero_number=  2\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3159578775621649\n",
      "gzsl: unseen=0.1677 , seen=0.7686 , h=0.2753\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15200 loss tensor(0.3514, device='cuda:0')\n",
      "loss_zero_number=  3\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3179797656923631\n",
      "gzsl: unseen=0.1754 , seen=0.7568 , h=0.2848\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15400 loss tensor(1.00000e-02 *\n",
      "       4.8641, device='cuda:0')\n",
      "loss_zero_number=  3\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3141548796527409\n",
      "gzsl: unseen=0.1631 , seen=0.7770 , h=0.2696\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15600 loss tensor(0.4028, device='cuda:0')\n",
      "loss_zero_number=  11\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.30670588719902653\n",
      "gzsl: unseen=0.1605 , seen=0.7785 , h=0.2661\n",
      "____________________________________________________________________________________________________\n",
      "episode: 15800 loss tensor(0.2698, device='cuda:0')\n",
      "loss_zero_number=  12\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3198694123965217\n",
      "gzsl: unseen=0.1643 , seen=0.7731 , h=0.2710\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16000 loss tensor(0.2409, device='cuda:0')\n",
      "loss_zero_number=  38\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3154582346019697\n",
      "gzsl: unseen=0.1619 , seen=0.7841 , h=0.2684\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16200 loss tensor(0.6812, device='cuda:0')\n",
      "loss_zero_number=  47\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31829154554118905\n",
      "gzsl: unseen=0.1586 , seen=0.7850 , h=0.2639\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16400 loss tensor(0.1741, device='cuda:0')\n",
      "loss_zero_number=  48\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3130947276507648\n",
      "gzsl: unseen=0.1571 , seen=0.7787 , h=0.2615\n",
      "____________________________________________________________________________________________________\n",
      "episode: 16600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  53\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32206016229244655\n",
      "gzsl: unseen=0.1583 , seen=0.7727 , h=0.2628\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 16800 loss tensor(1.1328, device='cuda:0')\n",
      "loss_zero_number=  70\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31145972428423174\n",
      "gzsl: unseen=0.1559 , seen=0.7862 , h=0.2602\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17000 loss tensor(0.3062, device='cuda:0')\n",
      "loss_zero_number=  74\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3124637052500483\n",
      "gzsl: unseen=0.1512 , seen=0.7780 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  75\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3084424225336358\n",
      "gzsl: unseen=0.1529 , seen=0.7883 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17400 loss tensor(1.0349, device='cuda:0')\n",
      "loss_zero_number=  99\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3157994903729717\n",
      "gzsl: unseen=0.1595 , seen=0.7891 , h=0.2654\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17600 loss tensor(0.1326, device='cuda:0')\n",
      "loss_zero_number=  104\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32703687492752487\n",
      "gzsl: unseen=0.1578 , seen=0.7911 , h=0.2632\n",
      "____________________________________________________________________________________________________\n",
      "episode: 17800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  115\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3187997485974074\n",
      "gzsl: unseen=0.1659 , seen=0.7726 , h=0.2732\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  108\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3234422599607752\n",
      "gzsl: unseen=0.1468 , seen=0.7967 , h=0.2479\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  125\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31891795235064263\n",
      "gzsl: unseen=0.1561 , seen=0.7689 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  121\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3214352823855283\n",
      "gzsl: unseen=0.1504 , seen=0.7881 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18600 loss tensor(0.2799, device='cuda:0')\n",
      "loss_zero_number=  142\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3216189853298044\n",
      "gzsl: unseen=0.1497 , seen=0.7851 , h=0.2515\n",
      "____________________________________________________________________________________________________\n",
      "episode: 18800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  139\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3186307672733069\n",
      "gzsl: unseen=0.1524 , seen=0.7835 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  140\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.319375080927752\n",
      "gzsl: unseen=0.1527 , seen=0.7809 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  138\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3142708283127467\n",
      "gzsl: unseen=0.1465 , seen=0.7825 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19400 loss tensor(0.3666, device='cuda:0')\n",
      "loss_zero_number=  142\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3114139288540917\n",
      "gzsl: unseen=0.1478 , seen=0.7805 , h=0.2485\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  138\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3213219563296614\n",
      "gzsl: unseen=0.1551 , seen=0.7884 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 19800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  166\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3181575333135193\n",
      "gzsl: unseen=0.1463 , seen=0.8022 , h=0.2475\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  167\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31135772562539504\n",
      "gzsl: unseen=0.1433 , seen=0.7894 , h=0.2425\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  163\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31631188909819685\n",
      "gzsl: unseen=0.1465 , seen=0.7917 , h=0.2473\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  144\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.30819516197393226\n",
      "gzsl: unseen=0.1335 , seen=0.8084 , h=0.2291\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  154\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31606598051226725\n",
      "gzsl: unseen=0.1506 , seen=0.7825 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 20800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  163\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31100911082554306\n",
      "gzsl: unseen=0.1371 , seen=0.7947 , h=0.2339\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  186\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31095060074565123\n",
      "gzsl: unseen=0.1469 , seen=0.7821 , h=0.2474\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21200 loss tensor(1.00000e-02 *\n",
      "       6.4412, device='cuda:0')\n",
      "loss_zero_number=  155\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3125167686880606\n",
      "gzsl: unseen=0.1419 , seen=0.7884 , h=0.2404\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21400 loss tensor(1.00000e-02 *\n",
      "       2.2989, device='cuda:0')\n",
      "loss_zero_number=  146\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3102357125893515\n",
      "gzsl: unseen=0.1474 , seen=0.7816 , h=0.2480\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  158\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3221351748546014\n",
      "gzsl: unseen=0.1516 , seen=0.7845 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 21800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  149\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3180878451837716\n",
      "gzsl: unseen=0.1493 , seen=0.7865 , h=0.2509\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22000 loss tensor(0.8435, device='cuda:0')\n",
      "loss_zero_number=  165\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32133444739316436\n",
      "gzsl: unseen=0.1619 , seen=0.7966 , h=0.2691\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  168\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32109834971898366\n",
      "gzsl: unseen=0.1530 , seen=0.7978 , h=0.2568\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 22400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  175\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31871101656215073\n",
      "gzsl: unseen=0.1544 , seen=0.7951 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  158\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31864513640643494\n",
      "gzsl: unseen=0.1505 , seen=0.7882 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 22800 loss tensor(1.00000e-02 *\n",
      "       5.2956, device='cuda:0')\n",
      "loss_zero_number=  149\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31940980926265466\n",
      "gzsl: unseen=0.1464 , seen=0.7851 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  170\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31585300657536686\n",
      "gzsl: unseen=0.1406 , seen=0.7931 , h=0.2388\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  178\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3256259850970424\n",
      "gzsl: unseen=0.1555 , seen=0.8014 , h=0.2605\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  188\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32193229046500643\n",
      "gzsl: unseen=0.1474 , seen=0.8058 , h=0.2492\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  171\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32751964357628954\n",
      "gzsl: unseen=0.1476 , seen=0.7975 , h=0.2490\n",
      "____________________________________________________________________________________________________\n",
      "episode: 23800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  169\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32036669913307775\n",
      "gzsl: unseen=0.1441 , seen=0.7990 , h=0.2442\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33000919497138165\n",
      "gzsl: unseen=0.1488 , seen=0.7770 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24200 loss tensor(0.1500, device='cuda:0')\n",
      "loss_zero_number=  165\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3179704784616163\n",
      "gzsl: unseen=0.1465 , seen=0.7954 , h=0.2474\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  174\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32674394670504997\n",
      "gzsl: unseen=0.1540 , seen=0.7841 , h=0.2574\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  169\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33560646798260513\n",
      "gzsl: unseen=0.1558 , seen=0.7854 , h=0.2601\n",
      "____________________________________________________________________________________________________\n",
      "episode: 24800 loss tensor(0.1807, device='cuda:0')\n",
      "loss_zero_number=  166\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3300158602176939\n",
      "gzsl: unseen=0.1563 , seen=0.7857 , h=0.2607\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  163\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32285436787395116\n",
      "gzsl: unseen=0.1497 , seen=0.7899 , h=0.2517\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  157\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3279605240992126\n",
      "gzsl: unseen=0.1588 , seen=0.7936 , h=0.2646\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  165\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3301254906770446\n",
      "gzsl: unseen=0.1584 , seen=0.7628 , h=0.2623\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  166\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32768522529091554\n",
      "gzsl: unseen=0.1553 , seen=0.7929 , h=0.2597\n",
      "____________________________________________________________________________________________________\n",
      "episode: 25800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  187\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32934993629958836\n",
      "gzsl: unseen=0.1564 , seen=0.7825 , h=0.2607\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  169\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3338813172287544\n",
      "gzsl: unseen=0.1543 , seen=0.8006 , h=0.2587\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  171\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3365477013713621\n",
      "gzsl: unseen=0.1583 , seen=0.8030 , h=0.2645\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  183\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32981927749566603\n",
      "gzsl: unseen=0.1479 , seen=0.7996 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  182\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3317802378485966\n",
      "gzsl: unseen=0.1452 , seen=0.7952 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 26800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  170\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3323034746935945\n",
      "gzsl: unseen=0.1578 , seen=0.7911 , h=0.2631\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  176\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33490892720719073\n",
      "gzsl: unseen=0.1555 , seen=0.7899 , h=0.2598\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  180\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32849896907897874\n",
      "gzsl: unseen=0.1464 , seen=0.7976 , h=0.2474\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3370307369927976\n",
      "gzsl: unseen=0.1676 , seen=0.7983 , h=0.2770\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  179\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3306880552255285\n",
      "gzsl: unseen=0.1614 , seen=0.7935 , h=0.2682\n",
      "____________________________________________________________________________________________________\n",
      "episode: 27800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  167\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3256067174098507\n",
      "gzsl: unseen=0.1461 , seen=0.8029 , h=0.2471\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 28000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  165\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32227624748444283\n",
      "gzsl: unseen=0.1494 , seen=0.8110 , h=0.2524\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3292494273531465\n",
      "gzsl: unseen=0.1546 , seen=0.8012 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  173\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3331312778111499\n",
      "gzsl: unseen=0.1515 , seen=0.8079 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28600 loss tensor(1.1288, device='cuda:0')\n",
      "loss_zero_number=  171\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31948428411051705\n",
      "gzsl: unseen=0.1590 , seen=0.8022 , h=0.2654\n",
      "____________________________________________________________________________________________________\n",
      "episode: 28800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32657003055144257\n",
      "gzsl: unseen=0.1474 , seen=0.7958 , h=0.2488\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  178\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3268778648242275\n",
      "gzsl: unseen=0.1484 , seen=0.8120 , h=0.2509\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  189\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3264611247314801\n",
      "gzsl: unseen=0.1421 , seen=0.8055 , h=0.2416\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  180\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3243601926784177\n",
      "gzsl: unseen=0.1440 , seen=0.7925 , h=0.2437\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3284808697457356\n",
      "gzsl: unseen=0.1378 , seen=0.8038 , h=0.2353\n",
      "____________________________________________________________________________________________________\n",
      "episode: 29800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  171\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33128175282759825\n",
      "gzsl: unseen=0.1441 , seen=0.8024 , h=0.2443\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  187\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3268891281194977\n",
      "gzsl: unseen=0.1370 , seen=0.8034 , h=0.2341\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  186\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33282195341647347\n",
      "gzsl: unseen=0.1421 , seen=0.8046 , h=0.2416\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  174\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33209658931505137\n",
      "gzsl: unseen=0.1399 , seen=0.8149 , h=0.2388\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  174\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3282129807767734\n",
      "gzsl: unseen=0.1479 , seen=0.8165 , h=0.2505\n",
      "____________________________________________________________________________________________________\n",
      "episode: 30800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3319704792102973\n",
      "gzsl: unseen=0.1494 , seen=0.8034 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  172\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.31477814293220946\n",
      "gzsl: unseen=0.1478 , seen=0.8008 , h=0.2495\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3274404681676963\n",
      "gzsl: unseen=0.1471 , seen=0.8115 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  180\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3237188834863615\n",
      "gzsl: unseen=0.1465 , seen=0.7972 , h=0.2476\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  179\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3244166167189734\n",
      "gzsl: unseen=0.1513 , seen=0.8000 , h=0.2544\n",
      "____________________________________________________________________________________________________\n",
      "episode: 31800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3237493662048652\n",
      "gzsl: unseen=0.1471 , seen=0.8174 , h=0.2493\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32800685005931735\n",
      "gzsl: unseen=0.1493 , seen=0.8085 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32577115134818396\n",
      "gzsl: unseen=0.1433 , seen=0.8199 , h=0.2440\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32817389864791596\n",
      "gzsl: unseen=0.1417 , seen=0.8180 , h=0.2416\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32817389864791596\n",
      "gzsl: unseen=0.1420 , seen=0.8180 , h=0.2420\n",
      "____________________________________________________________________________________________________\n",
      "episode: 32800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32817389864791596\n",
      "gzsl: unseen=0.1420 , seen=0.8180 , h=0.2420\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.328273072826927\n",
      "gzsl: unseen=0.1623 , seen=0.7828 , h=0.2688\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  164\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3169542019783645\n",
      "gzsl: unseen=0.1505 , seen=0.8033 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  173\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32052908294569066\n",
      "gzsl: unseen=0.1487 , seen=0.8133 , h=0.2515\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 33600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3213674604881905\n",
      "gzsl: unseen=0.1565 , seen=0.8059 , h=0.2621\n",
      "____________________________________________________________________________________________________\n",
      "episode: 33800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  172\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3263159117192001\n",
      "gzsl: unseen=0.1547 , seen=0.7935 , h=0.2590\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  180\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32835694077955185\n",
      "gzsl: unseen=0.1563 , seen=0.8029 , h=0.2616\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33626617656457564\n",
      "gzsl: unseen=0.1545 , seen=0.7963 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  187\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32844070131964187\n",
      "gzsl: unseen=0.1501 , seen=0.8107 , h=0.2534\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3254332846690369\n",
      "gzsl: unseen=0.1548 , seen=0.8005 , h=0.2594\n",
      "____________________________________________________________________________________________________\n",
      "episode: 34800 loss tensor(0.1217, device='cuda:0')\n",
      "loss_zero_number=  183\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3326542347626747\n",
      "gzsl: unseen=0.1459 , seen=0.8147 , h=0.2475\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  188\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3361014838903889\n",
      "gzsl: unseen=0.1519 , seen=0.8037 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  184\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3208112789288346\n",
      "gzsl: unseen=0.1488 , seen=0.8154 , h=0.2516\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.329527867132396\n",
      "gzsl: unseen=0.1418 , seen=0.7928 , h=0.2406\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  169\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3180331481843441\n",
      "gzsl: unseen=0.1486 , seen=0.8106 , h=0.2512\n",
      "____________________________________________________________________________________________________\n",
      "episode: 35800 loss tensor(0.1074, device='cuda:0')\n",
      "loss_zero_number=  176\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33549773654693976\n",
      "gzsl: unseen=0.1470 , seen=0.8150 , h=0.2490\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  186\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3369532631210217\n",
      "gzsl: unseen=0.1574 , seen=0.7979 , h=0.2629\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3366173318173114\n",
      "gzsl: unseen=0.1513 , seen=0.7982 , h=0.2544\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  173\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3423487044312033\n",
      "gzsl: unseen=0.1455 , seen=0.8032 , h=0.2464\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  183\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33751420258387443\n",
      "gzsl: unseen=0.1467 , seen=0.7975 , h=0.2479\n",
      "____________________________________________________________________________________________________\n",
      "episode: 36800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35120703665371883\n",
      "gzsl: unseen=0.1582 , seen=0.7854 , h=0.2633\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  183\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3470392386697982\n",
      "gzsl: unseen=0.1532 , seen=0.7921 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354547353098786\n",
      "gzsl: unseen=0.1504 , seen=0.7920 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37400 loss tensor(0.1509, device='cuda:0')\n",
      "loss_zero_number=  172\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3464049465852534\n",
      "gzsl: unseen=0.1616 , seen=0.8020 , h=0.2690\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  180\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33436240397918643\n",
      "gzsl: unseen=0.1638 , seen=0.8001 , h=0.2720\n",
      "____________________________________________________________________________________________________\n",
      "episode: 37800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3252269671911705\n",
      "gzsl: unseen=0.1481 , seen=0.7858 , h=0.2493\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33898368509723253\n",
      "gzsl: unseen=0.1548 , seen=0.7860 , h=0.2587\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3344850716429036\n",
      "gzsl: unseen=0.1552 , seen=0.8206 , h=0.2611\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377203515666531\n",
      "gzsl: unseen=0.1615 , seen=0.8064 , h=0.2691\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38600 loss tensor(1.00000e-02 *\n",
      "       5.5822, device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34703090990011937\n",
      "gzsl: unseen=0.1631 , seen=0.7937 , h=0.2706\n",
      "____________________________________________________________________________________________________\n",
      "episode: 38800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  163\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394369144027537\n",
      "gzsl: unseen=0.1498 , seen=0.8188 , h=0.2533\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34308034166409\n",
      "gzsl: unseen=0.1538 , seen=0.8006 , h=0.2580\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 39200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  182\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3364054003974297\n",
      "gzsl: unseen=0.1549 , seen=0.8069 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3439127753002418\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 39800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34355664994411644\n",
      "gzsl: unseen=0.1466 , seen=0.8073 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 40800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34899814753933267\n",
      "gzsl: unseen=0.1540 , seen=0.7941 , h=0.2580\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34415489387137904\n",
      "gzsl: unseen=0.1446 , seen=0.8160 , h=0.2456\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3458929889639943\n",
      "gzsl: unseen=0.1538 , seen=0.8138 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34539855598469776\n",
      "gzsl: unseen=0.1579 , seen=0.8094 , h=0.2643\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34678950891512145\n",
      "gzsl: unseen=0.1606 , seen=0.8133 , h=0.2683\n",
      "____________________________________________________________________________________________________\n",
      "episode: 41800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454477270324459\n",
      "gzsl: unseen=0.1578 , seen=0.8003 , h=0.2636\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3456618834047642\n",
      "gzsl: unseen=0.1582 , seen=0.8003 , h=0.2642\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3408969195008072\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3408969195008072\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3408969195008072\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 42800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3408969195008072\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3408969195008072\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34068806402879387\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34068806402879387\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34068806402879387\n",
      "gzsl: unseen=0.1555 , seen=0.7930 , h=0.2600\n",
      "____________________________________________________________________________________________________\n",
      "episode: 43800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  179\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3386911359192562\n",
      "gzsl: unseen=0.1491 , seen=0.7967 , h=0.2512\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3389006439421047\n",
      "gzsl: unseen=0.1594 , seen=0.7779 , h=0.2646\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442018763566134\n",
      "gzsl: unseen=0.1492 , seen=0.7992 , h=0.2514\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34434982092695926\n",
      "gzsl: unseen=0.1562 , seen=0.7764 , h=0.2601\n",
      "____________________________________________________________________________________________________\n",
      "episode: 44600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3477305370657224\n",
      "gzsl: unseen=0.1629 , seen=0.7806 , h=0.2696\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 44800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3420511900911953\n",
      "gzsl: unseen=0.1557 , seen=0.8061 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3420511900911953\n",
      "gzsl: unseen=0.1557 , seen=0.8061 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3420511900911953\n",
      "gzsl: unseen=0.1557 , seen=0.8061 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3420511900911953\n",
      "gzsl: unseen=0.1557 , seen=0.8061 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3420511900911953\n",
      "gzsl: unseen=0.1557 , seen=0.8061 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 45800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34486179502894704\n",
      "gzsl: unseen=0.1621 , seen=0.7868 , h=0.2689\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3325631091905686\n",
      "gzsl: unseen=0.1527 , seen=0.7865 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3316068951370968\n",
      "gzsl: unseen=0.1487 , seen=0.7887 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3316068951370968\n",
      "gzsl: unseen=0.1483 , seen=0.7887 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3318157506091101\n",
      "gzsl: unseen=0.1483 , seen=0.7887 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 46800 loss tensor(0.3859, device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33228158086285575\n",
      "gzsl: unseen=0.1428 , seen=0.7904 , h=0.2419\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  187\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3321954786999987\n",
      "gzsl: unseen=0.1451 , seen=0.7778 , h=0.2446\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33332107293522156\n",
      "gzsl: unseen=0.1516 , seen=0.7822 , h=0.2540\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3312901159387687\n",
      "gzsl: unseen=0.1517 , seen=0.7949 , h=0.2548\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3370247670326066\n",
      "gzsl: unseen=0.1510 , seen=0.7889 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 47800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 48800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33011380242455896\n",
      "gzsl: unseen=0.1481 , seen=0.7927 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3304699277806843\n",
      "gzsl: unseen=0.1481 , seen=0.7939 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  177\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33960389399266405\n",
      "gzsl: unseen=0.1517 , seen=0.8113 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  189\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33809878182606146\n",
      "gzsl: unseen=0.1551 , seen=0.7851 , h=0.2590\n",
      "____________________________________________________________________________________________________\n",
      "episode: 49800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 50400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 50800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988139644880166\n",
      "gzsl: unseen=0.1531 , seen=0.7975 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3429797085594664\n",
      "gzsl: unseen=0.1447 , seen=0.7940 , h=0.2448\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3388038411549609\n",
      "gzsl: unseen=0.1465 , seen=0.8008 , h=0.2476\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3388812597106403\n",
      "gzsl: unseen=0.1465 , seen=0.8008 , h=0.2476\n",
      "____________________________________________________________________________________________________\n",
      "episode: 51800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3403958767421384\n",
      "gzsl: unseen=0.1525 , seen=0.8004 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1526 , seen=0.7977 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1526 , seen=0.7977 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1521 , seen=0.7977 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1521 , seen=0.7965 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 52800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1521 , seen=0.7965 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087359726121824\n",
      "gzsl: unseen=0.1521 , seen=0.7965 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  188\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35388190778320733\n",
      "gzsl: unseen=0.1485 , seen=0.7995 , h=0.2505\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  181\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3531282900613351\n",
      "gzsl: unseen=0.1556 , seen=0.8064 , h=0.2608\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35455209858282116\n",
      "gzsl: unseen=0.1528 , seen=0.8053 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 53800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35227676037080125\n",
      "gzsl: unseen=0.1533 , seen=0.7901 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35235856250848757\n",
      "gzsl: unseen=0.1520 , seen=0.7987 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35235856250848757\n",
      "gzsl: unseen=0.1520 , seen=0.7987 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35235856250848757\n",
      "gzsl: unseen=0.1520 , seen=0.7987 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35216743101001663\n",
      "gzsl: unseen=0.1520 , seen=0.7987 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 54800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35164846704624403\n",
      "gzsl: unseen=0.1611 , seen=0.7862 , h=0.2674\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55000 loss tensor(1.00000e-02 *\n",
      "       9.6667, device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3504734303363659\n",
      "gzsl: unseen=0.1591 , seen=0.7869 , h=0.2646\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3514474067087265\n",
      "gzsl: unseen=0.1750 , seen=0.7821 , h=0.2861\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35153955696441264\n",
      "gzsl: unseen=0.1710 , seen=0.7626 , h=0.2794\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  189\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3460624567088815\n",
      "gzsl: unseen=0.1670 , seen=0.7823 , h=0.2752\n",
      "____________________________________________________________________________________________________\n",
      "episode: 55800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34521726360071464\n",
      "gzsl: unseen=0.1666 , seen=0.7883 , h=0.2751\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 56000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34460583163916825\n",
      "gzsl: unseen=0.1666 , seen=0.7877 , h=0.2751\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.345778900978972\n",
      "gzsl: unseen=0.1603 , seen=0.7898 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.345778900978972\n",
      "gzsl: unseen=0.1603 , seen=0.7898 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34198472056730894\n",
      "gzsl: unseen=0.1532 , seen=0.7956 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 56800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34198472056730894\n",
      "gzsl: unseen=0.1532 , seen=0.7956 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34198472056730894\n",
      "gzsl: unseen=0.1532 , seen=0.7956 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34198472056730894\n",
      "gzsl: unseen=0.1532 , seen=0.7956 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3423408459234343\n",
      "gzsl: unseen=0.1532 , seen=0.7956 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3393366396282646\n",
      "gzsl: unseen=0.1576 , seen=0.8033 , h=0.2635\n",
      "____________________________________________________________________________________________________\n",
      "episode: 57800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33975965147259624\n",
      "gzsl: unseen=0.1580 , seen=0.8030 , h=0.2640\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.348291133900346\n",
      "gzsl: unseen=0.1539 , seen=0.8093 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35120769581956085\n",
      "gzsl: unseen=0.1547 , seen=0.8023 , h=0.2593\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35120769581956085\n",
      "gzsl: unseen=0.1547 , seen=0.8023 , h=0.2593\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35120769581956085\n",
      "gzsl: unseen=0.1547 , seen=0.8023 , h=0.2593\n",
      "____________________________________________________________________________________________________\n",
      "episode: 58800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35120769581956085\n",
      "gzsl: unseen=0.1547 , seen=0.8023 , h=0.2593\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33833407481755584\n",
      "gzsl: unseen=0.1566 , seen=0.7901 , h=0.2614\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.341396073850551\n",
      "gzsl: unseen=0.1552 , seen=0.8072 , h=0.2604\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  191\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34532274430887105\n",
      "gzsl: unseen=0.1613 , seen=0.8007 , h=0.2685\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3412430329134571\n",
      "gzsl: unseen=0.1509 , seen=0.8220 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 59800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  191\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.331684691707395\n",
      "gzsl: unseen=0.1547 , seen=0.8051 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3407135825974768\n",
      "gzsl: unseen=0.1557 , seen=0.8007 , h=0.2607\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3407135825974768\n",
      "gzsl: unseen=0.1557 , seen=0.8007 , h=0.2607\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3407135825974768\n",
      "gzsl: unseen=0.1557 , seen=0.8007 , h=0.2607\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3404903031526166\n",
      "gzsl: unseen=0.1481 , seen=0.8133 , h=0.2505\n",
      "____________________________________________________________________________________________________\n",
      "episode: 60800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33980653034898767\n",
      "gzsl: unseen=0.1508 , seen=0.8098 , h=0.2543\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.339901103958891\n",
      "gzsl: unseen=0.1496 , seen=0.8005 , h=0.2521\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33627327027590453\n",
      "gzsl: unseen=0.1495 , seen=0.7838 , h=0.2511\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3301960445260898\n",
      "gzsl: unseen=0.1488 , seen=0.7962 , h=0.2507\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 61600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3383437213342619\n",
      "gzsl: unseen=0.1625 , seen=0.7781 , h=0.2688\n",
      "____________________________________________________________________________________________________\n",
      "episode: 61800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32858298377504563\n",
      "gzsl: unseen=0.1453 , seen=0.8172 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62000 loss tensor(1.00000e-02 *\n",
      "       8.3323, device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3295447346461477\n",
      "gzsl: unseen=0.1447 , seen=0.8189 , h=0.2460\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33520298192361436\n",
      "gzsl: unseen=0.1476 , seen=0.8199 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33520298192361436\n",
      "gzsl: unseen=0.1476 , seen=0.8199 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33520298192361436\n",
      "gzsl: unseen=0.1476 , seen=0.8199 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 62800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33520298192361436\n",
      "gzsl: unseen=0.1476 , seen=0.8199 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33520298192361436\n",
      "gzsl: unseen=0.1476 , seen=0.8199 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3302233184419341\n",
      "gzsl: unseen=0.1416 , seen=0.8296 , h=0.2419\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33623300708946885\n",
      "gzsl: unseen=0.1428 , seen=0.8022 , h=0.2425\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.340088807950691\n",
      "gzsl: unseen=0.1519 , seen=0.8142 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 63800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3385178011001601\n",
      "gzsl: unseen=0.1511 , seen=0.7938 , h=0.2539\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3367382832082948\n",
      "gzsl: unseen=0.1563 , seen=0.7911 , h=0.2610\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3367382832082948\n",
      "gzsl: unseen=0.1566 , seen=0.7911 , h=0.2615\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33810358843959193\n",
      "gzsl: unseen=0.1442 , seen=0.8120 , h=0.2449\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3478112681815598\n",
      "gzsl: unseen=0.1466 , seen=0.8220 , h=0.2488\n",
      "____________________________________________________________________________________________________\n",
      "episode: 64800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33968209418156387\n",
      "gzsl: unseen=0.1466 , seen=0.8108 , h=0.2483\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3396548745605514\n",
      "gzsl: unseen=0.1393 , seen=0.8129 , h=0.2378\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3396548745605514\n",
      "gzsl: unseen=0.1389 , seen=0.8139 , h=0.2373\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3350127240995737\n",
      "gzsl: unseen=0.1435 , seen=0.8095 , h=0.2439\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3364546558446788\n",
      "gzsl: unseen=0.1443 , seen=0.8048 , h=0.2447\n",
      "____________________________________________________________________________________________________\n",
      "episode: 65800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3295910835174959\n",
      "gzsl: unseen=0.1474 , seen=0.8119 , h=0.2496\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3385910957873437\n",
      "gzsl: unseen=0.1458 , seen=0.8018 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 66800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 67200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 67800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3354715855976051\n",
      "gzsl: unseen=0.1472 , seen=0.8155 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3347903862819624\n",
      "gzsl: unseen=0.1530 , seen=0.8222 , h=0.2580\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  185\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33143410271994284\n",
      "gzsl: unseen=0.1571 , seen=0.7975 , h=0.2625\n",
      "____________________________________________________________________________________________________\n",
      "episode: 68800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  187\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33734723816337214\n",
      "gzsl: unseen=0.1563 , seen=0.7874 , h=0.2609\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3396295752042757\n",
      "gzsl: unseen=0.1485 , seen=0.8009 , h=0.2505\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33283211867124834\n",
      "gzsl: unseen=0.1453 , seen=0.8138 , h=0.2465\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3371577021455821\n",
      "gzsl: unseen=0.1573 , seen=0.7798 , h=0.2618\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3392389351700966\n",
      "gzsl: unseen=0.1562 , seen=0.7973 , h=0.2612\n",
      "____________________________________________________________________________________________________\n",
      "episode: 69800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33684388422984846\n",
      "gzsl: unseen=0.1467 , seen=0.8098 , h=0.2484\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3359609591556225\n",
      "gzsl: unseen=0.1475 , seen=0.8058 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3359609591556225\n",
      "gzsl: unseen=0.1475 , seen=0.8058 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3359609591556225\n",
      "gzsl: unseen=0.1475 , seen=0.8058 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33594452584200923\n",
      "gzsl: unseen=0.1475 , seen=0.8058 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 70800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33594452584200923\n",
      "gzsl: unseen=0.1475 , seen=0.8058 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33594452584200923\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33594452584200923\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33594452584200923\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 71800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 72600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33636753768634087\n",
      "gzsl: unseen=0.1473 , seen=0.8058 , h=0.2491\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 72800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  191\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34024174721841316\n",
      "gzsl: unseen=0.1536 , seen=0.8001 , h=0.2577\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3378054294041731\n",
      "gzsl: unseen=0.1523 , seen=0.7888 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  191\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.341912435560451\n",
      "gzsl: unseen=0.1590 , seen=0.7903 , h=0.2647\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3381515937745369\n",
      "gzsl: unseen=0.1519 , seen=0.7855 , h=0.2546\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33592397375682254\n",
      "gzsl: unseen=0.1469 , seen=0.8019 , h=0.2483\n",
      "____________________________________________________________________________________________________\n",
      "episode: 73800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33443421555897435\n",
      "gzsl: unseen=0.1518 , seen=0.7863 , h=0.2545\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33443421555897435\n",
      "gzsl: unseen=0.1518 , seen=0.7863 , h=0.2545\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3450442813587089\n",
      "gzsl: unseen=0.1480 , seen=0.7936 , h=0.2495\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3450442813587089\n",
      "gzsl: unseen=0.1480 , seen=0.7936 , h=0.2495\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3450442813587089\n",
      "gzsl: unseen=0.1480 , seen=0.7936 , h=0.2495\n",
      "____________________________________________________________________________________________________\n",
      "episode: 74800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3450442813587089\n",
      "gzsl: unseen=0.1480 , seen=0.7936 , h=0.2495\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34444476097501586\n",
      "gzsl: unseen=0.1474 , seen=0.7936 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34087512844066\n",
      "gzsl: unseen=0.1487 , seen=0.8101 , h=0.2513\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33999013409954765\n",
      "gzsl: unseen=0.1480 , seen=0.7861 , h=0.2492\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  191\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32566583433397817\n",
      "gzsl: unseen=0.1335 , seen=0.8177 , h=0.2295\n",
      "____________________________________________________________________________________________________\n",
      "episode: 75800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3281754274080438\n",
      "gzsl: unseen=0.1294 , seen=0.8187 , h=0.2235\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  189\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3364717328335529\n",
      "gzsl: unseen=0.1439 , seen=0.8168 , h=0.2447\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.334385381273274\n",
      "gzsl: unseen=0.1516 , seen=0.8186 , h=0.2558\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3349550197135956\n",
      "gzsl: unseen=0.1444 , seen=0.8095 , h=0.2451\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33346207898306973\n",
      "gzsl: unseen=0.1376 , seen=0.8171 , h=0.2355\n",
      "____________________________________________________________________________________________________\n",
      "episode: 76800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3339895679999158\n",
      "gzsl: unseen=0.1378 , seen=0.8168 , h=0.2358\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3339895679999158\n",
      "gzsl: unseen=0.1378 , seen=0.8168 , h=0.2358\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33435701726165923\n",
      "gzsl: unseen=0.1366 , seen=0.8231 , h=0.2344\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3373438712179293\n",
      "gzsl: unseen=0.1497 , seen=0.8193 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3314949798865515\n",
      "gzsl: unseen=0.1524 , seen=0.8161 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 77800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3314949798865515\n",
      "gzsl: unseen=0.1524 , seen=0.8161 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3317038353585649\n",
      "gzsl: unseen=0.1524 , seen=0.8163 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3317038353585649\n",
      "gzsl: unseen=0.1524 , seen=0.8163 , h=0.2568\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 78400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  194\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3337545521305378\n",
      "gzsl: unseen=0.1479 , seen=0.7784 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78600 loss tensor(0.2409, device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32589515156824783\n",
      "gzsl: unseen=0.1440 , seen=0.8048 , h=0.2443\n",
      "____________________________________________________________________________________________________\n",
      "episode: 78800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32547720126871943\n",
      "gzsl: unseen=0.1481 , seen=0.8050 , h=0.2501\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33341839760301495\n",
      "gzsl: unseen=0.1519 , seen=0.8050 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33340067362947257\n",
      "gzsl: unseen=0.1519 , seen=0.8050 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3353043611339461\n",
      "gzsl: unseen=0.1502 , seen=0.8097 , h=0.2534\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  192\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3415753043289043\n",
      "gzsl: unseen=0.1513 , seen=0.8076 , h=0.2549\n",
      "____________________________________________________________________________________________________\n",
      "episode: 79800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3415753043289043\n",
      "gzsl: unseen=0.1513 , seen=0.8076 , h=0.2549\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3415753043289043\n",
      "gzsl: unseen=0.1517 , seen=0.8076 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33707496514763396\n",
      "gzsl: unseen=0.1512 , seen=0.8057 , h=0.2546\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 80800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 81800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 82800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3377980243278052\n",
      "gzsl: unseen=0.1513 , seen=0.8058 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3333177184009223\n",
      "gzsl: unseen=0.1470 , seen=0.8105 , h=0.2488\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33128330233974573\n",
      "gzsl: unseen=0.1468 , seen=0.8123 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33092717698362034\n",
      "gzsl: unseen=0.1468 , seen=0.8123 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 83800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33092717698362034\n",
      "gzsl: unseen=0.1464 , seen=0.8123 , h=0.2481\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 84000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33092717698362034\n",
      "gzsl: unseen=0.1464 , seen=0.8123 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.330718321511607\n",
      "gzsl: unseen=0.1464 , seen=0.8123 , h=0.2481\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33145955962089924\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33145955962089924\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 84800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 85800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3311034342647739\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3315060107543069\n",
      "gzsl: unseen=0.1476 , seen=0.8113 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3315060107543069\n",
      "gzsl: unseen=0.1476 , seen=0.8100 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33090649037061387\n",
      "gzsl: unseen=0.1476 , seen=0.8100 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33090649037061387\n",
      "gzsl: unseen=0.1472 , seen=0.8100 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 86800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33090649037061387\n",
      "gzsl: unseen=0.1469 , seen=0.8100 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3300391175707257\n",
      "gzsl: unseen=0.1469 , seen=0.8100 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3300391175707257\n",
      "gzsl: unseen=0.1469 , seen=0.8100 , h=0.2486\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3300391175707257\n",
      "gzsl: unseen=0.1472 , seen=0.8100 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3300391175707257\n",
      "gzsl: unseen=0.1472 , seen=0.8100 , h=0.2491\n",
      "____________________________________________________________________________________________________\n",
      "episode: 87800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3296078957985023\n",
      "gzsl: unseen=0.1554 , seen=0.7935 , h=0.2598\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3295830359609364\n",
      "gzsl: unseen=0.1457 , seen=0.7828 , h=0.2457\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32889343526196774\n",
      "gzsl: unseen=0.1505 , seen=0.8149 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3279377895221493\n",
      "gzsl: unseen=0.1505 , seen=0.8149 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3283403660116823\n",
      "gzsl: unseen=0.1510 , seen=0.8149 , h=0.2548\n",
      "____________________________________________________________________________________________________\n",
      "episode: 88800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3279173541673507\n",
      "gzsl: unseen=0.1506 , seen=0.8149 , h=0.2542\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3290281219948065\n",
      "gzsl: unseen=0.1512 , seen=0.8149 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3290281219948065\n",
      "gzsl: unseen=0.1512 , seen=0.8149 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3290281219948065\n",
      "gzsl: unseen=0.1512 , seen=0.8149 , h=0.2551\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 89600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3290281219948065\n",
      "gzsl: unseen=0.1512 , seen=0.8149 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 89800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33647869822765\n",
      "gzsl: unseen=0.1529 , seen=0.8129 , h=0.2574\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32748534643776034\n",
      "gzsl: unseen=0.1494 , seen=0.8159 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32748534643776034\n",
      "gzsl: unseen=0.1494 , seen=0.8164 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3328354212893401\n",
      "gzsl: unseen=0.1473 , seen=0.8090 , h=0.2493\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33323799777887314\n",
      "gzsl: unseen=0.1473 , seen=0.8094 , h=0.2493\n",
      "____________________________________________________________________________________________________\n",
      "episode: 90800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3329592909784272\n",
      "gzsl: unseen=0.1471 , seen=0.8094 , h=0.2489\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33276556996090756\n",
      "gzsl: unseen=0.1471 , seen=0.8094 , h=0.2489\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33276556996090756\n",
      "gzsl: unseen=0.1471 , seen=0.8094 , h=0.2489\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33316814645044057\n",
      "gzsl: unseen=0.1471 , seen=0.8094 , h=0.2489\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33274513460610894\n",
      "gzsl: unseen=0.1463 , seen=0.8094 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 91800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3327615679197223\n",
      "gzsl: unseen=0.1463 , seen=0.8094 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33240544256359694\n",
      "gzsl: unseen=0.1463 , seen=0.8094 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3328284544079286\n",
      "gzsl: unseen=0.1463 , seen=0.8094 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3332310308974616\n",
      "gzsl: unseen=0.1459 , seen=0.8094 , h=0.2473\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3336540427417933\n",
      "gzsl: unseen=0.1463 , seen=0.8094 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 92800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3340566192313263\n",
      "gzsl: unseen=0.1463 , seen=0.8090 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33342178707475495\n",
      "gzsl: unseen=0.1463 , seen=0.8090 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33384479891908664\n",
      "gzsl: unseen=0.1468 , seen=0.8090 , h=0.2485\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348867356296125\n",
      "gzsl: unseen=0.1464 , seen=0.8090 , h=0.2480\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348867356296125\n",
      "gzsl: unseen=0.1470 , seen=0.8090 , h=0.2488\n",
      "____________________________________________________________________________________________________\n",
      "episode: 93800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348867356296125\n",
      "gzsl: unseen=0.1470 , seen=0.8090 , h=0.2488\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3333759432344036\n",
      "gzsl: unseen=0.1476 , seen=0.8090 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3340795386926522\n",
      "gzsl: unseen=0.1481 , seen=0.8090 , h=0.2503\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3340795386926522\n",
      "gzsl: unseen=0.1486 , seen=0.8090 , h=0.2510\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3340795386926522\n",
      "gzsl: unseen=0.1486 , seen=0.8090 , h=0.2510\n",
      "____________________________________________________________________________________________________\n",
      "episode: 94800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3341464251808585\n",
      "gzsl: unseen=0.1486 , seen=0.8090 , h=0.2510\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33367294033237366\n",
      "gzsl: unseen=0.1484 , seen=0.8090 , h=0.2508\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 95200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348837037749895\n",
      "gzsl: unseen=0.1484 , seen=0.8080 , h=0.2507\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348837037749895\n",
      "gzsl: unseen=0.1484 , seen=0.8080 , h=0.2507\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33348837037749895\n",
      "gzsl: unseen=0.1484 , seen=0.8080 , h=0.2507\n",
      "____________________________________________________________________________________________________\n",
      "episode: 95800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3340878907611921\n",
      "gzsl: unseen=0.1490 , seen=0.8075 , h=0.2515\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33436022191587617\n",
      "gzsl: unseen=0.1492 , seen=0.8075 , h=0.2519\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33460361694344387\n",
      "gzsl: unseen=0.1498 , seen=0.8075 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3344026136749559\n",
      "gzsl: unseen=0.1495 , seen=0.8075 , h=0.2523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3344026136749559\n",
      "gzsl: unseen=0.1495 , seen=0.8075 , h=0.2523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 96800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3350021340586489\n",
      "gzsl: unseen=0.1501 , seen=0.8075 , h=0.2531\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33570572951689753\n",
      "gzsl: unseen=0.1504 , seen=0.8070 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3353496041607722\n",
      "gzsl: unseen=0.1499 , seen=0.8079 , h=0.2529\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33492659231644056\n",
      "gzsl: unseen=0.1495 , seen=0.8079 , h=0.2523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33543783976020336\n",
      "gzsl: unseen=0.1495 , seen=0.8079 , h=0.2523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 97800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  190\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33743682412986775\n",
      "gzsl: unseen=0.1613 , seen=0.7943 , h=0.2682\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34042972080703454\n",
      "gzsl: unseen=0.1559 , seen=0.7948 , h=0.2606\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3399904861470082\n",
      "gzsl: unseen=0.1479 , seen=0.8107 , h=0.2502\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34039306263654123\n",
      "gzsl: unseen=0.1474 , seen=0.8107 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3382576160270443\n",
      "gzsl: unseen=0.1503 , seen=0.8169 , h=0.2539\n",
      "____________________________________________________________________________________________________\n",
      "episode: 98800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34359594448936986\n",
      "gzsl: unseen=0.1526 , seen=0.8161 , h=0.2571\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34359594448936986\n",
      "gzsl: unseen=0.1526 , seen=0.8153 , h=0.2571\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34359594448936986\n",
      "gzsl: unseen=0.1526 , seen=0.8103 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3419219496602825\n",
      "gzsl: unseen=0.1470 , seen=0.8218 , h=0.2494\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988606957630013\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2457\n",
      "____________________________________________________________________________________________________\n",
      "episode: 99800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988606957630013\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2457\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988606957630013\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2457\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988606957630013\n",
      "gzsl: unseen=0.1440 , seen=0.8158 , h=0.2449\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33988606957630013\n",
      "gzsl: unseen=0.1440 , seen=0.8158 , h=0.2449\n",
      "____________________________________________________________________________________________________\n",
      "episode: 100600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34028864606583314\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2456\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 100800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34028864606583314\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2456\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34028864606583314\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2456\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34028864606583314\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2456\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34028864606583314\n",
      "gzsl: unseen=0.1446 , seen=0.8158 , h=0.2456\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3406705567196373\n",
      "gzsl: unseen=0.1396 , seen=0.8100 , h=0.2381\n",
      "____________________________________________________________________________________________________\n",
      "episode: 101800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3406705567196373\n",
      "gzsl: unseen=0.1396 , seen=0.8100 , h=0.2381\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34133296155035137\n",
      "gzsl: unseen=0.1396 , seen=0.8100 , h=0.2381\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3413493948639647\n",
      "gzsl: unseen=0.1393 , seen=0.8100 , h=0.2377\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3405238065301\n",
      "gzsl: unseen=0.1393 , seen=0.8100 , h=0.2377\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34143763046339587\n",
      "gzsl: unseen=0.1393 , seen=0.8100 , h=0.2377\n",
      "____________________________________________________________________________________________________\n",
      "episode: 102800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3414540637770092\n",
      "gzsl: unseen=0.1396 , seen=0.8098 , h=0.2381\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34117535697656326\n",
      "gzsl: unseen=0.1396 , seen=0.8098 , h=0.2381\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33671565362815553\n",
      "gzsl: unseen=0.1390 , seen=0.7970 , h=0.2367\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3368840924856565\n",
      "gzsl: unseen=0.1520 , seen=0.7879 , h=0.2548\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  193\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3413084764472964\n",
      "gzsl: unseen=0.1460 , seen=0.8068 , h=0.2473\n",
      "____________________________________________________________________________________________________\n",
      "episode: 103800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3413084764472964\n",
      "gzsl: unseen=0.1454 , seen=0.8068 , h=0.2464\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33374577466324434\n",
      "gzsl: unseen=0.1478 , seen=0.8107 , h=0.2500\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3339222832026057\n",
      "gzsl: unseen=0.1492 , seen=0.8107 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3339222832026057\n",
      "gzsl: unseen=0.1492 , seen=0.8095 , h=0.2519\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33235229437161806\n",
      "gzsl: unseen=0.1450 , seen=0.7897 , h=0.2450\n",
      "____________________________________________________________________________________________________\n",
      "episode: 104800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33235229437161806\n",
      "gzsl: unseen=0.1446 , seen=0.7897 , h=0.2444\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33235229437161806\n",
      "gzsl: unseen=0.1446 , seen=0.7897 , h=0.2444\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3298212357137013\n",
      "gzsl: unseen=0.1460 , seen=0.7969 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32983766902731465\n",
      "gzsl: unseen=0.1460 , seen=0.7969 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32983766902731465\n",
      "gzsl: unseen=0.1460 , seen=0.7969 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 105800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.32985410234092805\n",
      "gzsl: unseen=0.1457 , seen=0.7969 , h=0.2464\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33007939112655477\n",
      "gzsl: unseen=0.1457 , seen=0.7969 , h=0.2464\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33007939112655477\n",
      "gzsl: unseen=0.1460 , seen=0.7956 , h=0.2467\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 106400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3304819676160878\n",
      "gzsl: unseen=0.1460 , seen=0.7956 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3304819676160878\n",
      "gzsl: unseen=0.1451 , seen=0.7956 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 106800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3299085731206749\n",
      "gzsl: unseen=0.1451 , seen=0.7956 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3299085731206749\n",
      "gzsl: unseen=0.1451 , seen=0.7956 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3299085731206749\n",
      "gzsl: unseen=0.1451 , seen=0.7956 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33018915673459187\n",
      "gzsl: unseen=0.1451 , seen=0.7956 , h=0.2455\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3308005886961382\n",
      "gzsl: unseen=0.1455 , seen=0.7964 , h=0.2461\n",
      "____________________________________________________________________________________________________\n",
      "episode: 107800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.331025877481765\n",
      "gzsl: unseen=0.1459 , seen=0.7964 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33141486946511706\n",
      "gzsl: unseen=0.1459 , seen=0.7964 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3312073046530328\n",
      "gzsl: unseen=0.1457 , seen=0.7964 , h=0.2463\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3312073046530328\n",
      "gzsl: unseen=0.1461 , seen=0.7952 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3314161601250461\n",
      "gzsl: unseen=0.1461 , seen=0.7952 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 108800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3314161601250461\n",
      "gzsl: unseen=0.1461 , seen=0.7952 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33122502862657516\n",
      "gzsl: unseen=0.1461 , seen=0.7952 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3319615648559647\n",
      "gzsl: unseen=0.1463 , seen=0.7950 , h=0.2471\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33220328695520474\n",
      "gzsl: unseen=0.1460 , seen=0.7945 , h=0.2467\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3319410134683722\n",
      "gzsl: unseen=0.1460 , seen=0.7953 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 109800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3322215970822891\n",
      "gzsl: unseen=0.1460 , seen=0.7953 , h=0.2468\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33243582759852164\n",
      "gzsl: unseen=0.1451 , seen=0.7953 , h=0.2454\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.332644683070535\n",
      "gzsl: unseen=0.1451 , seen=0.7941 , h=0.2453\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33336478598631114\n",
      "gzsl: unseen=0.1445 , seen=0.7941 , h=0.2445\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  195\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3357199740572534\n",
      "gzsl: unseen=0.1490 , seen=0.7788 , h=0.2501\n",
      "____________________________________________________________________________________________________\n",
      "episode: 110800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3345405834620099\n",
      "gzsl: unseen=0.1536 , seen=0.8099 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  197\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34281775562255756\n",
      "gzsl: unseen=0.1494 , seen=0.8059 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.348712259186531\n",
      "gzsl: unseen=0.1534 , seen=0.7973 , h=0.2573\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473550482552208\n",
      "gzsl: unseen=0.1570 , seen=0.8000 , h=0.2625\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1595 , seen=0.7982 , h=0.2659\n",
      "____________________________________________________________________________________________________\n",
      "episode: 111800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35309390500434074\n",
      "gzsl: unseen=0.1598 , seen=0.7982 , h=0.2663\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 112000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35309390500434074\n",
      "gzsl: unseen=0.1598 , seen=0.7982 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7982 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 112800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7992 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529027735058698\n",
      "gzsl: unseen=0.1598 , seen=0.7992 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7992 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 113800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523377926777311\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 114800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525466481497444\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525466481497444\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525466481497444\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35235551665127346\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35235551665127346\n",
      "gzsl: unseen=0.1598 , seen=0.7987 , h=0.2663\n",
      "____________________________________________________________________________________________________\n",
      "episode: 115800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3526361002651904\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35227997490906504\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524350969967025\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524350969967025\n",
      "gzsl: unseen=0.1601 , seen=0.7987 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3522262415246891\n",
      "gzsl: unseen=0.1601 , seen=0.7992 , h=0.2667\n",
      "____________________________________________________________________________________________________\n",
      "episode: 116800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3522262415246891\n",
      "gzsl: unseen=0.1603 , seen=0.7992 , h=0.2671\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3522262415246891\n",
      "gzsl: unseen=0.1603 , seen=0.7992 , h=0.2671\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3522262415246891\n",
      "gzsl: unseen=0.1603 , seen=0.7992 , h=0.2671\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35285810884103413\n",
      "gzsl: unseen=0.1603 , seen=0.7992 , h=0.2671\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 117600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525019834849088\n",
      "gzsl: unseen=0.1600 , seen=0.7992 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 117800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35214585812878346\n",
      "gzsl: unseen=0.1600 , seen=0.7992 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35214585812878346\n",
      "gzsl: unseen=0.1600 , seen=0.7987 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35212942481517007\n",
      "gzsl: unseen=0.1600 , seen=0.7987 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35228454690280747\n",
      "gzsl: unseen=0.1600 , seen=0.7987 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524756784012784\n",
      "gzsl: unseen=0.1600 , seen=0.7987 , h=0.2666\n",
      "____________________________________________________________________________________________________\n",
      "episode: 118800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35140730233290235\n",
      "gzsl: unseen=0.1596 , seen=0.7987 , h=0.2661\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35140730233290235\n",
      "gzsl: unseen=0.1593 , seen=0.7987 , h=0.2656\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35140730233290235\n",
      "gzsl: unseen=0.1593 , seen=0.7987 , h=0.2656\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351198446860889\n",
      "gzsl: unseen=0.1593 , seen=0.7987 , h=0.2656\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351198446860889\n",
      "gzsl: unseen=0.1593 , seen=0.7987 , h=0.2656\n",
      "____________________________________________________________________________________________________\n",
      "episode: 119800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35179615689007826\n",
      "gzsl: unseen=0.1593 , seen=0.7987 , h=0.2656\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35179615689007826\n",
      "gzsl: unseen=0.1596 , seen=0.7987 , h=0.2660\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33697618768906024\n",
      "gzsl: unseen=0.1466 , seen=0.8037 , h=0.2479\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33862391636665906\n",
      "gzsl: unseen=0.1510 , seen=0.7884 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33862391636665906\n",
      "gzsl: unseen=0.1510 , seen=0.7884 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 120800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33862391636665906\n",
      "gzsl: unseen=0.1511 , seen=0.7889 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.33862391636665906\n",
      "gzsl: unseen=0.1514 , seen=0.7889 , h=0.2540\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34409931018353385\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34409931018353385\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34450188667306686\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 121800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34450188667306686\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34450188667306686\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34450188667306686\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 122800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 123200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442930312010535\n",
      "gzsl: unseen=0.1505 , seen=0.7965 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 123800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454037990285093\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454037990285093\n",
      "gzsl: unseen=0.1511 , seen=0.7965 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 124800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7971 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7971 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448925515847465\n",
      "gzsl: unseen=0.1511 , seen=0.7971 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3460033194122023\n",
      "gzsl: unseen=0.1517 , seen=0.7971 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3460033194122023\n",
      "gzsl: unseen=0.1520 , seen=0.7971 , h=0.2553\n",
      "____________________________________________________________________________________________________\n",
      "episode: 125800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3460033194122023\n",
      "gzsl: unseen=0.1515 , seen=0.7971 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1511 , seen=0.7971 , h=0.2540\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1511 , seen=0.7971 , h=0.2540\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1513 , seen=0.7971 , h=0.2544\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1513 , seen=0.7971 , h=0.2544\n",
      "____________________________________________________________________________________________________\n",
      "episode: 126800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1517 , seen=0.7971 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457944639401889\n",
      "gzsl: unseen=0.1517 , seen=0.7971 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1520 , seen=0.7961 , h=0.2553\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1520 , seen=0.7956 , h=0.2553\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.345015326739732\n",
      "gzsl: unseen=0.1516 , seen=0.7956 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 127800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.345015326739732\n",
      "gzsl: unseen=0.1516 , seen=0.7956 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1516 , seen=0.7962 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1516 , seen=0.7962 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1508 , seen=0.7962 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 128600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1508 , seen=0.7962 , h=0.2535\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 128800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3454383385840636\n",
      "gzsl: unseen=0.1501 , seen=0.7975 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457106697387477\n",
      "gzsl: unseen=0.1504 , seen=0.7975 , h=0.2531\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3457106697387477\n",
      "gzsl: unseen=0.1500 , seen=0.7975 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34548538095312104\n",
      "gzsl: unseen=0.1500 , seen=0.7970 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3452066741526751\n",
      "gzsl: unseen=0.1507 , seen=0.7965 , h=0.2534\n",
      "____________________________________________________________________________________________________\n",
      "episode: 129800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3453305438417622\n",
      "gzsl: unseen=0.1504 , seen=0.7959 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34538631774622025\n",
      "gzsl: unseen=0.1504 , seen=0.7959 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3447913190982872\n",
      "gzsl: unseen=0.1496 , seen=0.7959 , h=0.2519\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3447913190982872\n",
      "gzsl: unseen=0.1496 , seen=0.7959 , h=0.2519\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3448077524119006\n",
      "gzsl: unseen=0.1496 , seen=0.7959 , h=0.2519\n",
      "____________________________________________________________________________________________________\n",
      "episode: 130800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34474745748392827\n",
      "gzsl: unseen=0.1497 , seen=0.7959 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.345737642779301\n",
      "gzsl: unseen=0.1509 , seen=0.7971 , h=0.2538\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3463371631629941\n",
      "gzsl: unseen=0.1515 , seen=0.7971 , h=0.2546\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3463371631629941\n",
      "gzsl: unseen=0.1515 , seen=0.7971 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34584960089053474\n",
      "gzsl: unseen=0.1515 , seen=0.7971 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 131800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459596821882975\n",
      "gzsl: unseen=0.1522 , seen=0.7971 , h=0.2556\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459596821882975\n",
      "gzsl: unseen=0.1522 , seen=0.7979 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34515015184686865\n",
      "gzsl: unseen=0.1522 , seen=0.7979 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34515015184686865\n",
      "gzsl: unseen=0.1522 , seen=0.7979 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34451344287682634\n",
      "gzsl: unseen=0.1517 , seen=0.7982 , h=0.2549\n",
      "____________________________________________________________________________________________________\n",
      "episode: 132800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  196\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3437220017881191\n",
      "gzsl: unseen=0.1457 , seen=0.8084 , h=0.2470\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34428422210104964\n",
      "gzsl: unseen=0.1463 , seen=0.8078 , h=0.2478\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3439984677679315\n",
      "gzsl: unseen=0.1462 , seen=0.8078 , h=0.2477\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34398203445431824\n",
      "gzsl: unseen=0.1459 , seen=0.8078 , h=0.2472\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34211982884013903\n",
      "gzsl: unseen=0.1498 , seen=0.8043 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 133800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34275221585105875\n",
      "gzsl: unseen=0.1504 , seen=0.8043 , h=0.2534\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34302454700574286\n",
      "gzsl: unseen=0.1504 , seen=0.8043 , h=0.2533\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3422015481909269\n",
      "gzsl: unseen=0.1502 , seen=0.8043 , h=0.2531\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 134400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3422015481909269\n",
      "gzsl: unseen=0.1502 , seen=0.8043 , h=0.2531\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34221798150454025\n",
      "gzsl: unseen=0.1502 , seen=0.8043 , h=0.2531\n",
      "____________________________________________________________________________________________________\n",
      "episode: 134800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34341702227192633\n",
      "gzsl: unseen=0.1514 , seen=0.8043 , h=0.2548\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3450339035101384\n",
      "gzsl: unseen=0.1569 , seen=0.7921 , h=0.2619\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3447033858162129\n",
      "gzsl: unseen=0.1552 , seen=0.7930 , h=0.2597\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3442803739718812\n",
      "gzsl: unseen=0.1558 , seen=0.7930 , h=0.2604\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3438573621275496\n",
      "gzsl: unseen=0.1541 , seen=0.7930 , h=0.2581\n",
      "____________________________________________________________________________________________________\n",
      "episode: 135800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.343434350283218\n",
      "gzsl: unseen=0.1541 , seen=0.7930 , h=0.2581\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.343243218784747\n",
      "gzsl: unseen=0.1538 , seen=0.7930 , h=0.2577\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34424531565797306\n",
      "gzsl: unseen=0.1544 , seen=0.7930 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3438891903018477\n",
      "gzsl: unseen=0.1544 , seen=0.7930 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3438891903018477\n",
      "gzsl: unseen=0.1541 , seen=0.7942 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 136800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3438891903018477\n",
      "gzsl: unseen=0.1541 , seen=0.7936 , h=0.2581\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3439609184437513\n",
      "gzsl: unseen=0.1544 , seen=0.7936 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3439404830889527\n",
      "gzsl: unseen=0.1544 , seen=0.7936 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34454000347264574\n",
      "gzsl: unseen=0.1550 , seen=0.7936 , h=0.2594\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34434887197417474\n",
      "gzsl: unseen=0.1546 , seen=0.7936 , h=0.2587\n",
      "____________________________________________________________________________________________________\n",
      "episode: 137800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394629548464173\n",
      "gzsl: unseen=0.1546 , seen=0.7936 , h=0.2587\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394629548464173\n",
      "gzsl: unseen=0.1552 , seen=0.7949 , h=0.2596\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394629548464173\n",
      "gzsl: unseen=0.1552 , seen=0.7949 , h=0.2596\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394629548464173\n",
      "gzsl: unseen=0.1548 , seen=0.7963 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34394629548464173\n",
      "gzsl: unseen=0.1548 , seen=0.7960 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 138800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3440338707866168\n",
      "gzsl: unseen=0.1548 , seen=0.7972 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3440338707866168\n",
      "gzsl: unseen=0.1548 , seen=0.7972 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34455034743140295\n",
      "gzsl: unseen=0.1497 , seen=0.8162 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3430155984815966\n",
      "gzsl: unseen=0.1500 , seen=0.8143 , h=0.2533\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3432589935091643\n",
      "gzsl: unseen=0.1502 , seen=0.8143 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 139800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3432589935091643\n",
      "gzsl: unseen=0.1502 , seen=0.8134 , h=0.2536\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 140000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3432589935091643\n",
      "gzsl: unseen=0.1518 , seen=0.8134 , h=0.2559\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34664415570628543\n",
      "gzsl: unseen=0.1495 , seen=0.8018 , h=0.2520\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34709299540033095\n",
      "gzsl: unseen=0.1504 , seen=0.8018 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34779471404510853\n",
      "gzsl: unseen=0.1504 , seen=0.8018 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 140800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3483942344288016\n",
      "gzsl: unseen=0.1510 , seen=0.8018 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3483942344288016\n",
      "gzsl: unseen=0.1510 , seen=0.8018 , h=0.2541\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3481477311238313\n",
      "gzsl: unseen=0.1511 , seen=0.8018 , h=0.2543\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35220502633110945\n",
      "gzsl: unseen=0.1474 , seen=0.8159 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34576845904197223\n",
      "gzsl: unseen=0.1553 , seen=0.8104 , h=0.2606\n",
      "____________________________________________________________________________________________________\n",
      "episode: 141800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34576845904197223\n",
      "gzsl: unseen=0.1553 , seen=0.8104 , h=0.2606\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34576845904197223\n",
      "gzsl: unseen=0.1553 , seen=0.8104 , h=0.2606\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459449675813336\n",
      "gzsl: unseen=0.1559 , seen=0.8104 , h=0.2615\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459449675813336\n",
      "gzsl: unseen=0.1559 , seen=0.8104 , h=0.2615\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3459449675813336\n",
      "gzsl: unseen=0.1559 , seen=0.8116 , h=0.2615\n",
      "____________________________________________________________________________________________________\n",
      "episode: 142800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3458567319819024\n",
      "gzsl: unseen=0.1554 , seen=0.8112 , h=0.2608\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3458567319819024\n",
      "gzsl: unseen=0.1550 , seen=0.8112 , h=0.2602\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3452605393002089\n",
      "gzsl: unseen=0.1473 , seen=0.7975 , h=0.2487\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3433616898619137\n",
      "gzsl: unseen=0.1575 , seen=0.8128 , h=0.2639\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3433616898619137\n",
      "gzsl: unseen=0.1575 , seen=0.8128 , h=0.2639\n",
      "____________________________________________________________________________________________________\n",
      "episode: 143800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3433616898619137\n",
      "gzsl: unseen=0.1575 , seen=0.8128 , h=0.2639\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3433616898619137\n",
      "gzsl: unseen=0.1575 , seen=0.8128 , h=0.2639\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3433616898619137\n",
      "gzsl: unseen=0.1580 , seen=0.8128 , h=0.2645\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3542194339940133\n",
      "gzsl: unseen=0.1548 , seen=0.8170 , h=0.2603\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3542194339940133\n",
      "gzsl: unseen=0.1548 , seen=0.8170 , h=0.2603\n",
      "____________________________________________________________________________________________________\n",
      "episode: 144800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34714757365719423\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34714757365719423\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34714757365719423\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3477470940408873\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 145600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3477470940408873\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 145800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3477470940408873\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3477470940408873\n",
      "gzsl: unseen=0.1619 , seen=0.8102 , h=0.2699\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3467995295035892\n",
      "gzsl: unseen=0.1532 , seen=0.8046 , h=0.2574\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 146800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 147800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 148800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1548 , seen=0.8093 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1545 , seen=0.8093 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 149800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1545 , seen=0.8093 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3473610799520934\n",
      "gzsl: unseen=0.1545 , seen=0.8093 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34787232739585616\n",
      "gzsl: unseen=0.1545 , seen=0.8093 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 150800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 151200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 151800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1540 , seen=0.8093 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1545 , seen=0.8093 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 152800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1545 , seen=0.8105 , h=0.2596\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1545 , seen=0.8105 , h=0.2596\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1545 , seen=0.8105 , h=0.2596\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475522114505643\n",
      "gzsl: unseen=0.1542 , seen=0.8105 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475686447641777\n",
      "gzsl: unseen=0.1542 , seen=0.8105 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 153800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3475686447641777\n",
      "gzsl: unseen=0.1542 , seen=0.8105 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1540 , seen=0.8105 , h=0.2589\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1538 , seen=0.8105 , h=0.2585\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1542 , seen=0.8105 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1542 , seen=0.8105 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 154800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1540 , seen=0.8105 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34765688036360887\n",
      "gzsl: unseen=0.1540 , seen=0.8105 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34725430387407585\n",
      "gzsl: unseen=0.1537 , seen=0.8105 , h=0.2584\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34725430387407585\n",
      "gzsl: unseen=0.1531 , seen=0.8127 , h=0.2577\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34727073718768925\n",
      "gzsl: unseen=0.1535 , seen=0.8127 , h=0.2583\n",
      "____________________________________________________________________________________________________\n",
      "episode: 155800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34728717050130253\n",
      "gzsl: unseen=0.1530 , seen=0.8127 , h=0.2575\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34728717050130253\n",
      "gzsl: unseen=0.1527 , seen=0.8127 , h=0.2571\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34728717050130253\n",
      "gzsl: unseen=0.1527 , seen=0.8127 , h=0.2571\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34728717050130253\n",
      "gzsl: unseen=0.1523 , seen=0.8127 , h=0.2566\n",
      "____________________________________________________________________________________________________\n",
      "episode: 156600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721731917287\n",
      "gzsl: unseen=0.1523 , seen=0.8127 , h=0.2566\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 156800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3474084506713409\n",
      "gzsl: unseen=0.1520 , seen=0.8112 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3474248839849543\n",
      "gzsl: unseen=0.1520 , seen=0.8112 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.346790051828383\n",
      "gzsl: unseen=0.1520 , seen=0.8123 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.346790051828383\n",
      "gzsl: unseen=0.1520 , seen=0.8123 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.346790051828383\n",
      "gzsl: unseen=0.1524 , seen=0.8123 , h=0.2566\n",
      "____________________________________________________________________________________________________\n",
      "episode: 157800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34698118332685396\n",
      "gzsl: unseen=0.1524 , seen=0.8123 , h=0.2566\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34698118332685396\n",
      "gzsl: unseen=0.1521 , seen=0.8123 , h=0.2562\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34698118332685396\n",
      "gzsl: unseen=0.1521 , seen=0.8101 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35446729288544804\n",
      "gzsl: unseen=0.1533 , seen=0.7996 , h=0.2572\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3497207004337137\n",
      "gzsl: unseen=0.1470 , seen=0.8292 , h=0.2497\n",
      "____________________________________________________________________________________________________\n",
      "episode: 158800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3456158633929598\n",
      "gzsl: unseen=0.1493 , seen=0.8243 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3456158633929598\n",
      "gzsl: unseen=0.1493 , seen=0.8231 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3456322967065732\n",
      "gzsl: unseen=0.1493 , seen=0.8231 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3458411521785865\n",
      "gzsl: unseen=0.1490 , seen=0.8231 , h=0.2523\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3452938953239902\n",
      "gzsl: unseen=0.1484 , seen=0.8231 , h=0.2515\n",
      "____________________________________________________________________________________________________\n",
      "episode: 159800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3468005657376403\n",
      "gzsl: unseen=0.1492 , seen=0.8227 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3468005657376403\n",
      "gzsl: unseen=0.1492 , seen=0.8227 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3468005657376403\n",
      "gzsl: unseen=0.1492 , seen=0.8227 , h=0.2526\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3468005657376403\n",
      "gzsl: unseen=0.1495 , seen=0.8227 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3468005657376403\n",
      "gzsl: unseen=0.1495 , seen=0.8227 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 160800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486034728997584\n",
      "gzsl: unseen=0.1528 , seen=0.8217 , h=0.2577\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34881232837177173\n",
      "gzsl: unseen=0.1525 , seen=0.8217 , h=0.2573\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34881232837177173\n",
      "gzsl: unseen=0.1522 , seen=0.8217 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3490211838437851\n",
      "gzsl: unseen=0.1524 , seen=0.8217 , h=0.2572\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3490211838437851\n",
      "gzsl: unseen=0.1522 , seen=0.8217 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 161800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3490376171573985\n",
      "gzsl: unseen=0.1522 , seen=0.8217 , h=0.2568\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3490376171573985\n",
      "gzsl: unseen=0.1522 , seen=0.8205 , h=0.2567\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34963713754109155\n",
      "gzsl: unseen=0.1522 , seen=0.8205 , h=0.2567\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 162400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34963713754109155\n",
      "gzsl: unseen=0.1519 , seen=0.8205 , h=0.2563\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34963713754109155\n",
      "gzsl: unseen=0.1522 , seen=0.8205 , h=0.2567\n",
      "____________________________________________________________________________________________________\n",
      "episode: 162800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34948986765697954\n",
      "gzsl: unseen=0.1518 , seen=0.8205 , h=0.2562\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34948986765697954\n",
      "gzsl: unseen=0.1518 , seen=0.8205 , h=0.2562\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34948986765697954\n",
      "gzsl: unseen=0.1518 , seen=0.8205 , h=0.2562\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34948986765697954\n",
      "gzsl: unseen=0.1519 , seen=0.8205 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3493425977728675\n",
      "gzsl: unseen=0.1516 , seen=0.8205 , h=0.2559\n",
      "____________________________________________________________________________________________________\n",
      "episode: 163800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3490620141589506\n",
      "gzsl: unseen=0.1516 , seen=0.8205 , h=0.2559\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486390023146189\n",
      "gzsl: unseen=0.1512 , seen=0.8205 , h=0.2553\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3496562336423387\n",
      "gzsl: unseen=0.1509 , seen=0.8205 , h=0.2549\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34967395761588116\n",
      "gzsl: unseen=0.1515 , seen=0.8205 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34988281308789454\n",
      "gzsl: unseen=0.1515 , seen=0.8199 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 164800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34988281308789454\n",
      "gzsl: unseen=0.1515 , seen=0.8199 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34969168158942354\n",
      "gzsl: unseen=0.1520 , seen=0.8199 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34950055009095266\n",
      "gzsl: unseen=0.1520 , seen=0.8199 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34950055009095266\n",
      "gzsl: unseen=0.1517 , seen=0.8199 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.349709405562966\n",
      "gzsl: unseen=0.1519 , seen=0.8207 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 165800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.349709405562966\n",
      "gzsl: unseen=0.1519 , seen=0.8207 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34972984091776466\n",
      "gzsl: unseen=0.1519 , seen=0.8207 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3492185934740018\n",
      "gzsl: unseen=0.1519 , seen=0.8207 , h=0.2564\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524849722631936\n",
      "gzsl: unseen=0.1490 , seen=0.8112 , h=0.2517\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35182174177994496\n",
      "gzsl: unseen=0.1502 , seen=0.8126 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 166800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35181644087964004\n",
      "gzsl: unseen=0.1502 , seen=0.8126 , h=0.2535\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35181644087964004\n",
      "gzsl: unseen=0.1507 , seen=0.8126 , h=0.2542\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35181644087964004\n",
      "gzsl: unseen=0.1504 , seen=0.8132 , h=0.2539\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35181644087964004\n",
      "gzsl: unseen=0.1504 , seen=0.8130 , h=0.2538\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524159612633331\n",
      "gzsl: unseen=0.1510 , seen=0.8130 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 167800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524159612633331\n",
      "gzsl: unseen=0.1504 , seen=0.8130 , h=0.2538\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 168000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524159612633331\n",
      "gzsl: unseen=0.1515 , seen=0.8130 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523995279497197\n",
      "gzsl: unseen=0.1515 , seen=0.8130 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523995279497197\n",
      "gzsl: unseen=0.1515 , seen=0.8130 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35204340259359435\n",
      "gzsl: unseen=0.1511 , seen=0.8130 , h=0.2549\n",
      "____________________________________________________________________________________________________\n",
      "episode: 168800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3480946388001372\n",
      "gzsl: unseen=0.1510 , seen=0.8102 , h=0.2546\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34827077170899606\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 169800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3486937835533277\n",
      "gzsl: unseen=0.1509 , seen=0.8160 , h=0.2547\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3489026390253411\n",
      "gzsl: unseen=0.1511 , seen=0.8155 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3494138864691038\n",
      "gzsl: unseen=0.1511 , seen=0.8149 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 170800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3494138864691038\n",
      "gzsl: unseen=0.1511 , seen=0.8149 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3466076509516989\n",
      "gzsl: unseen=0.1513 , seen=0.8114 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3466076509516989\n",
      "gzsl: unseen=0.1513 , seen=0.8114 , h=0.2550\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3469598712767179\n",
      "gzsl: unseen=0.1500 , seen=0.8097 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3467687397782469\n",
      "gzsl: unseen=0.1500 , seen=0.8097 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 171800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3467687397782469\n",
      "gzsl: unseen=0.1500 , seen=0.8097 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3467687397782469\n",
      "gzsl: unseen=0.1500 , seen=0.8097 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 172800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 173600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 173800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34962931919595513\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 174800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 175800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 176800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1537 , seen=0.8154 , h=0.2586\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1534 , seen=0.8154 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 177800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34942046372394175\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3489974518796101\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1534 , seen=0.8148 , h=0.2582\n",
      "____________________________________________________________________________________________________\n",
      "episode: 178800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1536 , seen=0.8148 , h=0.2584\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8148 , h=0.2588\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 179200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1543 , seen=0.8148 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1543 , seen=0.8148 , h=0.2595\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8148 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 179800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8148 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8148 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8148 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8153 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8153 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 180800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3485948753900771\n",
      "gzsl: unseen=0.1538 , seen=0.8153 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34838601991806367\n",
      "gzsl: unseen=0.1538 , seen=0.8141 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34838601991806367\n",
      "gzsl: unseen=0.1538 , seen=0.8141 , h=0.2588\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34838601991806367\n",
      "gzsl: unseen=0.1532 , seen=0.8141 , h=0.2578\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34838601991806367\n",
      "gzsl: unseen=0.1532 , seen=0.8141 , h=0.2578\n",
      "____________________________________________________________________________________________________\n",
      "episode: 181800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34817716444605035\n",
      "gzsl: unseen=0.1532 , seen=0.8147 , h=0.2579\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34817716444605035\n",
      "gzsl: unseen=0.1534 , seen=0.8153 , h=0.2583\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3531911706128432\n",
      "gzsl: unseen=0.1514 , seen=0.8229 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3531911706128432\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35298231514082984\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 182800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35298231514082984\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525797386512968\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525797386512968\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525797386512968\n",
      "gzsl: unseen=0.1512 , seen=0.8229 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3525797386512968\n",
      "gzsl: unseen=0.1512 , seen=0.8232 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 183800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3527708701497678\n",
      "gzsl: unseen=0.1512 , seen=0.8232 , h=0.2554\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3527708701497678\n",
      "gzsl: unseen=0.1510 , seen=0.8232 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3527708701497678\n",
      "gzsl: unseen=0.1510 , seen=0.8232 , h=0.2551\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3527708701497678\n",
      "gzsl: unseen=0.1512 , seen=0.8232 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 184600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35256201467775444\n",
      "gzsl: unseen=0.1512 , seen=0.8232 , h=0.2555\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 184800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35303549952623925\n",
      "gzsl: unseen=0.1512 , seen=0.8232 , h=0.2555\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35309897520891\n",
      "gzsl: unseen=0.1510 , seen=0.8232 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35309897520891\n",
      "gzsl: unseen=0.1510 , seen=0.8232 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3538908062665897\n",
      "gzsl: unseen=0.1510 , seen=0.8225 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3538908062665897\n",
      "gzsl: unseen=0.1510 , seen=0.8225 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 185800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3534882297770567\n",
      "gzsl: unseen=0.1510 , seen=0.8225 , h=0.2552\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3530705188330299\n",
      "gzsl: unseen=0.1516 , seen=0.8228 , h=0.2561\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3531422469749335\n",
      "gzsl: unseen=0.1519 , seen=0.8228 , h=0.2565\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3531422469749335\n",
      "gzsl: unseen=0.1519 , seen=0.8238 , h=0.2565\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3529333915029202\n",
      "gzsl: unseen=0.1519 , seen=0.8240 , h=0.2565\n",
      "____________________________________________________________________________________________________\n",
      "episode: 186800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3523219595413738\n",
      "gzsl: unseen=0.1519 , seen=0.8238 , h=0.2565\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35232648127713384\n",
      "gzsl: unseen=0.1515 , seen=0.8240 , h=0.2560\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35211891646504956\n",
      "gzsl: unseen=0.1513 , seen=0.8240 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3527184368487426\n",
      "gzsl: unseen=0.1522 , seen=0.8240 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3524931480631159\n",
      "gzsl: unseen=0.1522 , seen=0.8240 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 187800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35189944007511187\n",
      "gzsl: unseen=0.1522 , seen=0.8240 , h=0.2569\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3518817161015695\n",
      "gzsl: unseen=0.1513 , seen=0.8240 , h=0.2557\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3499016854235517\n",
      "gzsl: unseen=0.1501 , seen=0.8196 , h=0.2538\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35177086597997703\n",
      "gzsl: unseen=0.1500 , seen=0.8148 , h=0.2533\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3513702878028837\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 188800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3513702878028837\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3513702878028837\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3513702878028837\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3513702878028837\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351386721116497\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 189800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351386721116497\n",
      "gzsl: unseen=0.1502 , seen=0.8131 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351386721116497\n",
      "gzsl: unseen=0.1502 , seen=0.8126 , h=0.2536\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.351386721116497\n",
      "gzsl: unseen=0.1502 , seen=0.8123 , h=0.2536\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 190400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1546 , seen=0.8155 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1546 , seen=0.8155 , h=0.2599\n",
      "____________________________________________________________________________________________________\n",
      "episode: 190800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 191800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8155 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34721765710484487\n",
      "gzsl: unseen=0.1541 , seen=0.8161 , h=0.2592\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35192188347291103\n",
      "gzsl: unseen=0.1516 , seen=0.8198 , h=0.2558\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35192188347291103\n",
      "gzsl: unseen=0.1516 , seen=0.8198 , h=0.2558\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3539077010074852\n",
      "gzsl: unseen=0.1490 , seen=0.8134 , h=0.2518\n",
      "____________________________________________________________________________________________________\n",
      "episode: 192800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533964535637224\n",
      "gzsl: unseen=0.1497 , seen=0.8125 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3532053220652515\n",
      "gzsl: unseen=0.1497 , seen=0.8113 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3532053220652515\n",
      "gzsl: unseen=0.1499 , seen=0.8113 , h=0.2531\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35377030289339023\n",
      "gzsl: unseen=0.1500 , seen=0.8113 , h=0.2532\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35399559167901695\n",
      "gzsl: unseen=0.1498 , seen=0.8113 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 193800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35373096230254547\n",
      "gzsl: unseen=0.1498 , seen=0.8113 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35316598147440675\n",
      "gzsl: unseen=0.1498 , seen=0.8113 , h=0.2528\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35316598147440675\n",
      "gzsl: unseen=0.1499 , seen=0.8113 , h=0.2530\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35316598147440675\n",
      "gzsl: unseen=0.1506 , seen=0.8113 , h=0.2540\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1501 , seen=0.8113 , h=0.2533\n",
      "____________________________________________________________________________________________________\n",
      "episode: 194800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8113 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8113 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8104 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8104 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8104 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 195800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3536054266323518\n",
      "gzsl: unseen=0.1493 , seen=0.8104 , h=0.2522\n",
      "____________________________________________________________________________________________________\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "episode: 196000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3538142821043651\n",
      "gzsl: unseen=0.1491 , seen=0.8104 , h=0.2518\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35395858714825085\n",
      "gzsl: unseen=0.1491 , seen=0.8104 , h=0.2518\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3539750204618642\n",
      "gzsl: unseen=0.1496 , seen=0.8102 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3539750204618642\n",
      "gzsl: unseen=0.1496 , seen=0.8102 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 196800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35402432040270426\n",
      "gzsl: unseen=0.1493 , seen=0.8102 , h=0.2521\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3544268968922373\n",
      "gzsl: unseen=0.1497 , seen=0.8097 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3544268968922373\n",
      "gzsl: unseen=0.1497 , seen=0.8097 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3544268968922373\n",
      "gzsl: unseen=0.1497 , seen=0.8092 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3544268968922373\n",
      "gzsl: unseen=0.1497 , seen=0.8092 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 197800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3544268968922373\n",
      "gzsl: unseen=0.1497 , seen=0.8092 , h=0.2527\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  198\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.34590097202524145\n",
      "gzsl: unseen=0.1508 , seen=0.8145 , h=0.2544\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35092515525542667\n",
      "gzsl: unseen=0.1490 , seen=0.8216 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35092515525542667\n",
      "gzsl: unseen=0.1490 , seen=0.8216 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.35092515525542667\n",
      "gzsl: unseen=0.1490 , seen=0.8216 , h=0.2522\n",
      "____________________________________________________________________________________________________\n",
      "episode: 198800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  199\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199200 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199400 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199600 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 199800 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n",
      "episode: 200000 loss tensor(0., device='cuda:0')\n",
      "loss_zero_number=  200\n",
      "Testing...\n",
      "class num: 12\n",
      "class num: 32\n",
      "class num: 32\n",
      "zsl: 0.3533982643931619\n",
      "gzsl: unseen=0.1493 , seen=0.8180 , h=0.2525\n",
      "____________________________________________________________________________________________________\n"
     ]
    }
   ],
   "source": [
    "print(\"training...\")\n",
    "last_accuracy = 0.0\n",
    "loss_zero_num = 0\n",
    "#writer = SummaryWriter()\n",
    "for episode in range(EPISODE):\n",
    "    #attribute_network.train()\n",
    "    attribute_network_scheduler.step(episode)\n",
    "    metric_network_scheduler.step(episode)\n",
    "\n",
    "    train_loader = DataLoader(train_data, batch_size=BATCH_SIZE, shuffle=True)\n",
    "\n",
    "    batch_labels, batch_features = train_loader.__iter__().next()\n",
    "    batch_id = np.unique(batch_labels)\n",
    "\n",
    "    batch_attributes = torch.Tensor([all_attributes[i] for i in batch_id]).squeeze(1)\n",
    "    batch_features_ext = torch.from_numpy(batch_features.numpy().repeat(batch_id.size, 0))\n",
    "    batch_attributes_ext = batch_attributes.repeat(BATCH_SIZE, 1)\n",
    "\n",
    "    batch_features_ext = Variable(batch_features_ext).cuda(GPU).float()  # 32*2048\n",
    "    batch_attributes_ext = Variable(batch_attributes_ext).cuda(GPU)\n",
    "    \n",
    "\n",
    "    re_batch_labels = []\n",
    "    for label in batch_labels.numpy():\n",
    "        index = np.argwhere(batch_id == label)\n",
    "        re_batch_labels.append(index[0][0])\n",
    "    re_batch_labels = torch.cuda.LongTensor(re_batch_labels)\n",
    "    re_batch_labels = Variable(re_batch_labels).cuda(GPU)\n",
    "    \n",
    "\n",
    "    criterion = HardTripletLoss_D(margin = Margin).cuda(GPU)\n",
    "    triplet_loss= criterion(metric_network(attribute_network(batch_attributes_ext)), \n",
    "                            metric_network(batch_features_ext), re_batch_labels)\n",
    "    if triplet_loss == 0:\n",
    "        loss_zero_num = loss_zero_num + 1\n",
    "    metric_network.zero_grad()\n",
    "    attribute_network.zero_grad()\n",
    "    \n",
    "    triplet_loss.backward()\n",
    "    \n",
    "    attribute_network_optim.step()\n",
    "    metric_network_optim.step()\n",
    "    \n",
    "    if (episode+1)%200 == 0 or episode==0:\n",
    "        print(\"episode:\", episode+1, \"loss\", triplet_loss)\n",
    "        print('loss_zero_number= ',loss_zero_num)\n",
    "        #writer.add_scalar('data/loss_zero_number', loss_zero_num, episode)\n",
    "        loss_zero_num = 0\n",
    "        #writer.add_scalar('data/loss', triplet_loss, episode)\n",
    "    if (episode+1)%200 == 0 or episode==0:\n",
    "        print(\"Testing...\")\n",
    "        #attribute_network.eval()\n",
    "        zsl_accuracy = compute_accuracy_per_class(test_features, test_label, test_id, test_attributes)\n",
    "        gzsl_unseen_accuracy = compute_accuracy_per_class(test_features, test_label, np.arange(32), attributes)\n",
    "        gzsl_seen_accuracy = compute_accuracy_per_class(test_seen_features, test_seen_label, np.arange(32), attributes)\n",
    "        H = 2 * gzsl_seen_accuracy * gzsl_unseen_accuracy / (gzsl_unseen_accuracy + gzsl_seen_accuracy)\n",
    "        #H2 = 2 * gzsl_seen_accuracy2 * gzsl_unseen_accuracy2 / (gzsl_unseen_accuracy2 + gzsl_seen_accuracy2)\n",
    "        print('zsl:', zsl_accuracy)\n",
    "        #print('zsl:', zsl_accuracy2)\n",
    "        print('gzsl: unseen=%.4f , seen=%.4f , h=%.4f' % (gzsl_unseen_accuracy , gzsl_seen_accuracy, H))\n",
    "        #print('gzsl: unseen=%.4f , seen=%.4f , h=%.4f' % (gzsl_unseen_accuracy2 , gzsl_seen_accuracy2, H2))\n",
    "        print('_'*100)\n",
    "        #writer.add_scalar('data/zsl_accuracy', zsl_accuracy, episode)\n",
    "        #writer.add_scalar('data/gzsl_unseen_accuracy', gzsl_unseen_accuracy, episode)\n",
    "        #writer.add_scalar('data/gzsl_seen_accuracy', gzsl_seen_accuracy, episode)\n",
    "        #writer.add_scalar('data/H', H, episode)\n",
    "#writer.export_scalars_to_json(\"./test.json\")\n",
    "#writer.close()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "hide_input": false,
  "kernelspec": {
   "display_name": "pytorch",
   "language": "python",
   "name": "pytorch"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
